ref: eefde4cccd65c2673d7f10e8cf06f85f3a23cbe0
parent: 0f7e2ef56343b28a16bd01e35151bb79df7604e9
author: Quentin Rameau <quinq@fifth.space>
date: Thu May 19 08:38:06 EDT 2016
[cc2] Fix negation unary operator symbol ONEG used the same symbol as OSUB
--- a/cc2/parser.c
+++ b/cc2/parser.c
@@ -83,7 +83,7 @@
['\t'] = { stmt, NULL, 0}, ['~'] = { NULL, unary, .u.op = OCPL},- ['-'] = { NULL, unary, .u.op = ONEG},+ ['_'] = { NULL, unary, .u.op = ONEG}, ['\''] = { NULL, unary, .u.op = OADDR}, ['@'] = { NULL, unary, .u.op = OPTR}, ['g'] = { NULL, unary, .u.op = OCAST},--
⑨