Skip to content
Snippets Groups Projects
Commit ef816cf6 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

extern is now a reserved word.

Rev: src/lexer.h:1.14
parent 1c379c91
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: lexer.h,v 1.13 1999/12/17 21:09:49 hubbe Exp $ * $Id: lexer.h,v 1.14 1999/12/30 14:46:07 grubba Exp $
* *
* Lexical analyzer template. * Lexical analyzer template.
* Based on lex.c 1.62 * Based on lex.c 1.62
...@@ -698,6 +698,9 @@ static int low_yylex(YYSTYPE *yylval) ...@@ -698,6 +698,9 @@ static int low_yylex(YYSTYPE *yylval)
case TWO_CHAR('e','l'): case TWO_CHAR('e','l'):
if(ISWORD("else")) return F_ELSE; if(ISWORD("else")) return F_ELSE;
break; break;
case TWO_CHAR('e','x'):
if(ISWORD("extern")) return F_EXTERN;
break;
case TWO_CHAR('f','i'): case TWO_CHAR('f','i'):
if(ISWORD("final")) return F_FINAL_ID; if(ISWORD("final")) return F_FINAL_ID;
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment