Use consistent name for all variant implementations of VLwarn().

The function prototypes both use the name VLwarn, with a macro definition
providing the alias to yywarn. But one of the variant implementations was
named yywarn. Make it consistent with the function prototype.
This commit is contained in:
Martin Whitaker
2022-12-22 10:21:25 +00:00
parent 3335138d16
commit bb867480fc
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998-2021 Stephen Williams ([email protected])
* Copyright (c) 1998-2022 Stephen Williams ([email protected])
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@@ -67,7 +67,7 @@ void VLerror(const YYLTYPE&loc, const char*msg, ...)
based_size = 0; /* Clear the base information if we have an error. */
}
void yywarn(const YYLTYPE&loc, const char*msg)
void VLwarn(const YYLTYPE&loc, const char*msg)
{
warn_count += 1;
cerr << loc << ": warning: " << msg << endl;