commit b3ca64d2c3dc1423d21eea575723ebcbf8faea4f
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Aug 12 09:01:11 2016 +0200
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Aug 12 09:05:55 2016 +0200
[cc2] Fix the value of ONOP
ONOP already had the value 'n', but this value is more suitable for ONEG
(logical negation).
diff --git a/cc2/cc2.h b/cc2/cc2.h
index 95a1a7c..53fac08 100644
--- 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',