public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/4] BaseTools: correct mal-typed CVfrDLGLexer::errstd
       [not found] <1820255998.1779314.1512830509989.ref@mail.yahoo.com>
@ 2017-12-09 14:41 ` Zenith432
  0 siblings, 0 replies; only message in thread
From: Zenith432 @ 2017-12-09 14:41 UTC (permalink / raw)
  To: edk2-devel

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>
---
 BaseTools/Source/C/VfrCompile/VfrSyntax.g | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax.g b/BaseTools/Source/C/VfrCompile/VfrSyntax.g
index fbd5abfa..a434eacf 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);
   }
-- 
2.14.3 (Apple Git-98)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-09 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1820255998.1779314.1512830509989.ref@mail.yahoo.com>
2017-12-09 14:41 ` [PATCH 1/4] BaseTools: correct mal-typed CVfrDLGLexer::errstd Zenith432

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox