shithub: scc

Download patch

ref: ab7033ad9cf899c83e4911881cb11026103e7fd4
parent: 3134fea3e8d461d77eb23d8f91291e985f28d4ba
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Mar 27 17:16:36 EDT 2014

Add division operations

These operators were lost since last version.

--- a/lex.c
+++ b/lex.c
@@ -226,6 +226,7 @@
 	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);