simple C compiler
git clone git://
Log | Files | Refs | README | LICENSE

commit 12ae7b469328c8724bdc595f4df95c9b96a1894c
parent 4089279e341a35d8762085de87b8db30803f7c3f
Author: Hiltjo Posthuma <>
Date:   Sat, 10 Oct 2015 12:31:42 +0200

small typo fixes

Mcc1/expr.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -15,7 +15,7 @@ unnecessary complexity to the compiler (and increased compilation time): allocate variables in ROM rather than error detection. This implememtation will not warn about these modifications and the compiler will treat them like normal variables (the standard - specifies that a diagnosic message must be printed). + specifies that a diagnostic message must be printed). - volatile: The definition of volatile is not concrete, because it is defined as 'remove all optimizations applied to the diff --git a/cc1/expr.c b/cc1/expr.c @@ -453,7 +453,7 @@ incdec(Node *np, char op) switch (BTYPE(np)) { case PTR: if (!tp->defined) - error("invalid use of indefined type"); + error("invalid use of undefined type"); inc = sizeofnode(tp->type); break; case INT: