ref: 0e2c0cd93633e29ce5c9e54aa36666299c934c5d
parent: 33ccfecf295bb8a0d44e3622e43242d30376e951
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Aug 23 18:34:21 EDT 2012
Fixed bug in lexical analysis of operators Instead of returning the value of the token, we were returning the value of the temporal variable used for reading, so the token returned was always incorrect. Fixed to return the correct value.
--- a/lex.c
+++ b/lex.c
@@ -112,7 +112,7 @@
op = tp[1];
}
ungetc(c, yyin);
- return c;
+ return op;
}
static unsigned char