Lemon fix: incorrect printf format strings.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 17 Feb 2010 15:34:43 -0500
changeset 832 375ac4fcdc51
parent 831 80e47b096ecd
child 833 cd7c278acf02
Lemon fix: incorrect printf format strings.
misc/lemon.c
--- a/misc/lemon.c	Wed Feb 17 01:01:40 2010 -0500
+++ b/misc/lemon.c	Wed Feb 17 15:34:43 2010 -0500
@@ -2324,7 +2324,7 @@
     case WAITING_FOR_DESTRUCTOR_SYMBOL:
       if( !isalpha(x[0]) ){
         ErrorMsg(psp->filename,psp->tokenlineno,
-          "Symbol name missing after %destructor keyword");
+          "Symbol name missing after %%destructor keyword");
         psp->errorcnt++;
         psp->state = RESYNC_AFTER_DECL_ERROR;
       }else{
@@ -2353,7 +2353,7 @@
     case WAITING_FOR_DATATYPE_SYMBOL:
       if( !isalpha(x[0]) ){
         ErrorMsg(psp->filename,psp->tokenlineno,
-          "Symbol name missing after %destructor keyword");
+          "Symbol name missing after %%type keyword");
         psp->errorcnt++;
         psp->state = RESYNC_AFTER_DECL_ERROR;
       }else{