scc

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

commit f9b9be337e76a5a4c16d48639e4a3379d9fdd639
parent 1814a219b69466faf91e429a2fa30671d4e9a26b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 22 Jul 2015 18:28:28 +0200

Fix small typos (pancake thanks again!)

Diffstat:
Mcc1/code.c | 2+-
Mcc1/lex.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cc1/code.c b/cc1/code.c @@ -206,7 +206,7 @@ emitconst(Node *np) break; default: /* TODO: Handle other kind of constants */ - abort; + abort(); } } diff --git a/cc1/lex.c b/cc1/lex.c @@ -457,7 +457,7 @@ dot(void) { char c; - if (c = *input->p != '.') + if ((c = *input->p) != '.') return '.'; if ((c = *++input->p) != '.') error("incorrect token '..'");