diff options
-rw-r--r-- | lex.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | char *rcs_lex = "$Id: lex.c,v 2.16 1995/09/15 20:48:26 roberto Exp $"; | 1 | char *rcs_lex = "$Id: lex.c,v 2.17 1995/10/03 18:06:10 roberto Exp $"; |
2 | 2 | ||
3 | 3 | ||
4 | #include <ctype.h> | 4 | #include <ctype.h> |
@@ -185,7 +185,8 @@ int yylex (void) | |||
185 | 185 | ||
186 | case '-': | 186 | case '-': |
187 | save_and_next(); | 187 | save_and_next(); |
188 | if (current != '-') return '-'; | 188 | if (current != '-') return '-'; /* else goes through */ |
189 | case '#': | ||
189 | do { next(); } while (current != '\n' && current != 0); | 190 | do { next(); } while (current != '\n' && current != 0); |
190 | continue; | 191 | continue; |
191 | 192 | ||