scc

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

commit 249a65302879e222ad849fa548a41b5574bd608a
parent c38a9a544f367f22a57990aeca32fdc8e81bda6e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 17 Aug 2016 14:12:16 +0200

[cc2-qbe] Add support for OCOMMA

Like I already have said, the most difficult operator ever.

Diffstat:
Mcc2/arch/qbe/cgen.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c @@ -502,6 +502,8 @@ rhs(Node *np, Node *ret) return assign(&aux2, ret); case OASK: return ternary(np, ret); + case OCOMMA: + return rhs(np, ret); default: abort(); }