Navigation Menu

Skip to content

Commit

Permalink
Lemon fix: incorrect printf format strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 17, 2010
1 parent 0bb8101 commit 3d53100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/lemon.c
Expand Up @@ -2324,7 +2324,7 @@ to follow the previous rule.");
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{
Expand Down Expand Up @@ -2353,7 +2353,7 @@ to follow the previous rule.");
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{
Expand Down

0 comments on commit 3d53100

Please sign in to comment.