diff options
author | mongo <mongo@iomega> | 2017-02-09 16:13:07 -0300 |
---|---|---|
committer | mongo <mongo@iomega> | 2017-02-09 16:13:07 -0300 |
commit | a9d70891ec3d901b474f524a2588301596dae747 (patch) | |
tree | 151dd5fd49038051d340fdfc91d2e7290e5bcdff /src/lex.c | |
parent | 446bee55552ad027cce1b722dca85262150d744a (diff) |
Avoid 'while loop has empty body warning'
Diffstat (limited to 'src/lex.c')
-rw-r--r-- | src/lex.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -207,7 +207,8 @@ int yylex() { yylval.ival = (int)v; dateflag = 2; } else if (*p == 'e' || *p == 'E') { - while (isdigit(*++p)) /* */; + while (isdigit(*++p)) + ; if (isalpha(*p) || *p == '_') { linelim = p - line; return (yylex()); |