diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-31 23:28:42 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-31 23:29:18 -0700 |
commit | 2a637337713c5c92c44249b88e31696ce9efdf9b (patch) | |
tree | 2225bb5610c56e4e3d1e419961cc80c0006991ac /src/lex.l | |
parent | ce4e11143f982234be1076e384b31228f1cc84ae (diff) |
Delete trailing whitespace in non *.[ch] source files
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/lex.l')
-rw-r--r-- | src/lex.l | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -103,15 +103,15 @@ number [0-9]+ "-" { return MINUS; } "|" { return OR; } -[a-zA-Z\.]+ { int token = parse_keyword ((char *)yytext, +[a-zA-Z\.]+ { int token = parse_keyword ((char *)yytext, &yylval.num); if (token == ERRORTOKEN) { twmrc_error_prefix(); fprintf (stderr, - "ignoring unknown keyword: %s\n", + "ignoring unknown keyword: %s\n", yytext); ParseError = 1; - } else + } else return token; } @@ -126,7 +126,7 @@ number [0-9]+ [\r\n\t ] {;} . { twmrc_error_prefix(); - fprintf (stderr, + fprintf (stderr, "ignoring character \"%s\"\n", yytext); ParseError = 1; |