commit 4f051c93ff2993d15cce71a5097fcb172a1c3df8 parent f49a0894cf79d52e8399d44d22e86d07e5b2c754 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Mon, 11 Aug 2014 22:31:59 +0200 Small style changes Diffstat:
M | cc2/cgen.c | | | 6 | +++--- |
M | cc2/parser.c | | | 2 | +- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cc2/cgen.c b/cc2/cgen.c @@ -126,9 +126,9 @@ xcgen(Node *np) switch (np->op) { case OPTR: case OADDR: case OINC: - case OADD: case OSUB: case OASSIG: case OMOD: case ODIV: - case OSHL: case OSHR: - case OBAND: case OBOR: case OBXOR: + case OADD: case OSUB: case OASSIG: case OMOD: case ODIV: + case OSHL: case OSHR: + case OBAND: case OBOR: case OBXOR: break; default: abort(); diff --git a/cc2/parser.c b/cc2/parser.c @@ -307,7 +307,7 @@ expression(char *token) if ((fun = optbl[token[0]]) == NULL) error(ESYNTAX); (*fun)(token); - } while ((token = strtok(NULL, "\t")) != NULL); + } while (token = strtok(NULL, "\t")); np = pop(); if (stackp != stack)