diff options
Diffstat (limited to 'src/lex.l')
-rw-r--r-- | src/lex.l | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -106,9 +106,8 @@ number [0-9]+ [a-zA-Z\.]+ { int token = parse_keyword ((char *)yytext, &yylval.num); if (token == ERRORTOKEN) { - twmrc_error_prefix(); - fprintf (stderr, - "ignoring unknown keyword: %s\n", + parseWarning ( + "ignoring unknown keyword: %s", yytext); ParseError = 1; } else @@ -125,9 +124,8 @@ number [0-9]+ \#[^\n]*\n {;} [\r\n\t ] {;} . { - twmrc_error_prefix(); - fprintf (stderr, - "ignoring character \"%s\"\n", + parseWarning ( + "ignoring character \"%s\"", yytext); ParseError = 1; } |