diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 75bb4da536..f0a2e06e58 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -2287,7 +2287,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{