scc

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

commit 6cbfe36885806fff34fd3d6c0f22d439e9321dc7
parent 6e1c06a139de53efc75a40734b0feaba60071f16
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 12 Mar 2015 19:16:01 +0000

Comment wrong codes in optbl of cc2

These opcodes are duplicated, so we have to comment them until
we get the correct value for them.

Diffstat:
Mcc2/parser.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cc2/parser.c b/cc2/parser.c @@ -373,8 +373,8 @@ static void (*optbl[])(char *) = { ['A'] = localvar, ['T'] = localvar, ['G'] = globvar, - ['P'] = paramvar, - ['L'] = label, +// ['P'] = paramvar, +// ['L'] = label, ['#'] = immediate, ['@'] = unary, ['a'] = unary,