ref: f3a5df345c3a7056c4298d4d2fe5034f19303897
parent: 5e2de268e633d028c222d3c2bd18a1b3f947502b
author: Sören Tempel <soeren+git@soeren-tempel.net>
date: Tue Aug 25 05:01:12 EDT 2015
Fix generror awk script { is a special character that must be protected in patterns
--- a/cc2/generror
+++ b/cc2/generror
@@ -3,7 +3,7 @@
BEGIN {
print "char *errlist[] = {"
}
-/^enum nerrors {/ {
+/^enum nerrors \{/ {
inhome = 1
}
inhome && /E[A-Z]*, / {