shithub: scc

Download patch

ref: 62155438ef96682214a7ef7160c2b493b22ea5f6
parent: ad3e410e18f471cc42104b7f39f195fb5d819b7a
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 12 05:01:11 EDT 2016

[cc2] Fix the value of ONOP

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

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