diff options
author | zenith432 <zenith432@users.sourceforge.net> | 2017-12-09 09:38:51 +0000 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-01-02 20:37:20 +0800 |
commit | 8b13e18143cc4199eedd2597572ade34061a5c33 (patch) | |
tree | 5d55632b7ad51b25ebca322e0b7b87f0d36abb57 /BaseTools | |
parent | b23276135a51d9d9e9973f30ff6c5014a79d5177 (diff) | |
download | edk2-8b13e18143cc4199eedd2597572ade34061a5c33.tar.gz edk2-8b13e18143cc4199eedd2597572ade34061a5c33.tar.bz2 edk2-8b13e18143cc4199eedd2597572ade34061a5c33.zip |
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>
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/C/VfrCompile/VfrSyntax.g | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax.g b/BaseTools/Source/C/VfrCompile/VfrSyntax.g index fbd5abfaca..a434eacff8 100644 --- a/BaseTools/Source/C/VfrCompile/VfrSyntax.g +++ b/BaseTools/Source/C/VfrCompile/VfrSyntax.g @@ -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);
}
|