scc

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

commit b3ca64d2c3dc1423d21eea575723ebcbf8faea4f
parent c97e8df0a9aefc62fbec9135f8d31c6fd25ec945
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 12 Aug 2016 09:01:11 +0200

[cc2] Fix the value of ONOP

ONOP already had the value 'n', but this value is more suitable for ONEG
(logical negation).

Diffstat:
Mcc2/cc2.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/cc2.h b/cc2/cc2.h @@ -97,7 +97,7 @@ enum op { OINC = 'i', ODEC = 'd', /*statements */ - ONOP = 'n', + ONOP = 'q', OJMP = 'j', OBRANCH = 'y', ORET = 'h',