scc

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

commit da0ce9f484c0d744fed1e22af2651734c4830d73
parent 02fb869bc63d7b49765e993ba2c8115e0bc54251
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 15 Apr 2014 17:25:10 +0200

Fix substraction

The string for substraction was missed, and a segmentation fault
could happen.

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

diff --git a/code.c b/code.c @@ -6,6 +6,7 @@ char *opcodes[] = { [OADD] = "+", + [OSUB] = "-", [OMUL] = "*", [OARY] = "'", [OINC] = ":+",