BaseTools: correct mal-typed CVfrDLGLexer::errstd
The member function CVfrDLGLexer::errstd is intended as an override virtual
function of DLGLexerBase::errstd, but due to mismatched prototype, it
didn't override, and never got called.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zenith432 <zenith432@users.sourceforge.net>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(cherry picked from commit 8b13e18143
)
This commit is contained in:
@@ -42,7 +42,7 @@ class CVfrDLGLexer : public VfrLexer
|
||||
{
|
||||
public:
|
||||
CVfrDLGLexer (DLGFileInput *F) : VfrLexer (F) {};
|
||||
INT32 errstd (char *Text)
|
||||
void errstd (const char *Text)
|
||||
{
|
||||
printf ("unrecognized input '%s'\n", Text);
|
||||
}
|
||||
|
Reference in New Issue
Block a user