summaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 23:28:42 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 23:29:18 -0700
commit2a637337713c5c92c44249b88e31696ce9efdf9b (patch)
tree2225bb5610c56e4e3d1e419961cc80c0006991ac /src/lex.l
parentce4e11143f982234be1076e384b31228f1cc84ae (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.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lex.l b/src/lex.l
index f880673..6323250 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -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;