diff options
Diffstat (limited to 'ecomp-c/ec.c')
-rw-r--r-- | ecomp-c/ec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ecomp-c/ec.c b/ecomp-c/ec.c index 962c99c..da25cf3 100644 --- a/ecomp-c/ec.c +++ b/ecomp-c/ec.c @@ -49,6 +49,7 @@ typedef enum { S_plus, S_minus, S_star, + S_slash, S_lparen, S_rparen, S_lbracket, @@ -90,6 +91,7 @@ static char *symname[S_eof+1] = { "+", "-", "*", + "/", "(", ")", "[", @@ -535,6 +537,8 @@ static S_Symbol getSym( void ) } else if( look == '*' ) { skipBlockComment( ); return getSym( ); + } else { + s = S_slash; } break; case '(': |