X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/dd11885aadcfaafae2d6268c381b0aac94cbc149..4f7cfa972623842e64e3a8468696f1f6f40fd202:/src/lexer.l diff --git a/src/lexer.l b/src/lexer.l index 941a460..1e7de53 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -367,7 +367,7 @@ class { char *s; s = g_strdup_printf("'%s' keyword should not " "be used when generating " - "C++ code",yytext); + "C++ code", yytext); print_error(TRUE, s, line_no); g_free(s); } @@ -395,6 +395,7 @@ class { public {yylval.line = line_no; return PUBLIC;} private {yylval.line = line_no; return PRIVATE;} protected {yylval.line = line_no; return PROTECTED;} +classwide {yylval.line = line_no; return CLASSWIDE;} argument {yylval.line = line_no; return ARGUMENT;} virtual {yylval.line = line_no; return VIRTUAL;} signal {yylval.line = line_no; return SIGNAL;}