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:
zenith432
2017-12-09 09:38:51 +00:00
committed by Liming Gao
parent ddec61f2a0
commit 26a58bbd36

View File

@@ -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);
}