scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit ab7033ad9cf899c83e4911881cb11026103e7fd4
parent 3134fea3e8d461d77eb23d8f91291e985f28d4ba
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 27 Mar 2014 21:16:36 +0100

Add division operations

These operators were lost since last version.

Diffstat:
Mlex.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lex.c b/lex.c @@ -226,6 +226,7 @@ operator(void) case '=': return follow('=', EQ, '='); case '^': return follow('=', XOR_EQ, '^'); case '*': return follow('=', MUL_EQ, '*'); + case '/': return follow('=', DIV_EQ, '/'); case '!': return follow('=', NE, '!'); case '&': return follow('=', AND_EQ, AND); case '|': return follow('=', OR_EQ, OR);