[hackers] [scc] small typo fixes || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sat, 10 Oct 2015 12:32:56 +0200 (CEST)

commit 12ae7b469328c8724bdc595f4df95c9b96a1894c
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Sat Oct 10 12:31:42 2015 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Sat Oct 10 12:31:42 2015 +0200

    small typo fixes

diff --git a/README b/README
index a1a9dd3..d3c382e 100644
--- a/README
+++ b/README
_AT_@ -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
index 5211692..e5b7aea 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -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:
Received on Sat Oct 10 2015 - 12:32:56 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 10 2015 - 12:36:11 CEST