diff --git a/Source/SWIG1.1/scanner.cxx b/Source/SWIG1.1/scanner.cxx index 8f88562f0..1e6f35c41 100644 --- a/Source/SWIG1.1/scanner.cxx +++ b/Source/SWIG1.1/scanner.cxx @@ -1299,6 +1299,8 @@ extern "C" int yylex(void) { if (strcmp(yytext,"%checkout") == 0) return(CHECKOUT); if (strcmp(yytext,"%val") == 0) return(CVALUE); if (strcmp(yytext,"%out") == 0) return(COUT); + if (strcmp(yytext,"%constant") == 0) return(CONSTANT); + if (strcmp(yytext,"%macro") == 0) return(SWIGMACRO); if (strcmp(yytext,"%section") == 0) { yylval.ivalue = line_number;