cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit c829860f2c07cd4c5891b9d537b8abbe8a1768ab
parent 966e1f7b5ae375380f2e4c2a52fdea82ca3c01dd
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 15 Apr 2019 22:00:15 -0700

Style

Diffstat:
Mexpr.c | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/expr.c b/expr.c @@ -863,17 +863,17 @@ assignexpr(struct scope *s) if (l->kind == EXPRBINARY || l->kind == EXPRCOMMA || l->kind == EXPRCAST) return l; switch (tok.kind) { - case TASSIGN: op = TNONE; break; - case TMULASSIGN: op = TMUL; break; - case TDIVASSIGN: op = TDIV; break; - case TMODASSIGN: op = TMOD; break; - case TADDASSIGN: op = TADD; break; - case TSUBASSIGN: op = TSUB; break; - case TSHLASSIGN: op = TSHL; break; - case TSHRASSIGN: op = TSHR; break; + case TASSIGN: op = TNONE; break; + case TMULASSIGN: op = TMUL; break; + case TDIVASSIGN: op = TDIV; break; + case TMODASSIGN: op = TMOD; break; + case TADDASSIGN: op = TADD; break; + case TSUBASSIGN: op = TSUB; break; + case TSHLASSIGN: op = TSHL; break; + case TSHRASSIGN: op = TSHR; break; case TBANDASSIGN: op = TBAND; break; - case TXORASSIGN: op = TXOR; break; - case TBORASSIGN: op = TBOR; break; + case TXORASSIGN: op = TXOR; break; + case TBORASSIGN: op = TBOR; break; default: return l; }