ref: b897cc9196148250fe2aeb826dd022f65dec6e2d
parent: e1bdd5948f935789d21a717ff7ec7cd95ece4b31
author: Michael Forney <[email protected]>
date: Mon Feb 13 13:45:59 EST 2017
[cc1-cc2] Fix some typos
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -255,7 +255,7 @@
}
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;
--- a/cc2/symbol.c
+++ b/cc2/symbol.c
@@ -44,7 +44,7 @@
* 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