Lemon update 2010-02-17 20:19:51 on branch lemon-update-2010

- Corrected error message (cut-and-paste bug). (user: icculus)
This commit is contained in:
Randy Heit 2016-03-20 09:55:01 -05:00
parent 031cebb138
commit 3d7a8e8348

View file

@ -2287,7 +2287,7 @@ to follow the previous rule.");
case WAITING_FOR_DATATYPE_SYMBOL: case WAITING_FOR_DATATYPE_SYMBOL:
if( !isalpha(x[0]) ){ if( !isalpha(x[0]) ){
ErrorMsg(psp->filename,psp->tokenlineno, ErrorMsg(psp->filename,psp->tokenlineno,
"Symbol name missing after %%destructor keyword"); "Symbol name missing after %%type keyword");
psp->errorcnt++; psp->errorcnt++;
psp->state = RESYNC_AFTER_DECL_ERROR; psp->state = RESYNC_AFTER_DECL_ERROR;
}else{ }else{