ref: 12ae7b469328c8724bdc595f4df95c9b96a1894c
parent: 4089279e341a35d8762085de87b8db30803f7c3f
author: Hiltjo Posthuma <hiltjo@codemadness.org>
date: Sat Oct 10 08:31:42 EDT 2015
small typo fixes
--- a/README
+++ b/README
@@ -15,7 +15,7 @@
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
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -453,7 +453,7 @@
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: