scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 6ab70653836a3885179e12bb5ab14032bd1fb224
parent 6fe29ddc7ef5e0f52dd79dcd919aaeed275f81a8
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 13 Feb 2017 18:45:59 -0800

[cc1-cc2] Fix some typos

Diffstat:
Mcc1/decl.c | 2+-
Mcc2/symbol.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cc1/decl.c b/cc1/decl.c @@ -255,7 +255,7 @@ ansifun(Type *tp, Type *types[], Symbol *syms[], int *ntypes, int *nsyms) } if (accept(ELLIPSIS)) { if (n == 0) - errorp("a named argument is requiered before '...'"); + errorp("a named argument is required before '...'"); ++n; *syms = NULL; *types++ = ellipsistype; diff --git a/cc2/symbol.c b/cc2/symbol.c @@ -44,7 +44,7 @@ popctx(void) * to have a global over a local, because a local is * any symbol defined in the body of a function, * even if it has extern linkage. - * For this reason when we raich a symbol in the + * For this reason when we reach a symbol in the * locals list we know that it is the head of it * collision list and we can remove it assigning * it h_next to the hash table position