aboutsummaryrefslogtreecommitdiffstats
path: root/bisonfix.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-02-12 20:01:25 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-02-12 20:01:25 +0200
commitb2f8d3e75f58946803addd6c17a02699178bfc21 (patch)
tree5a6a923258e43f35486ce530e4cbed4df08799db /bisonfix.awk
parent71b40c8909aff9d8d817d04be5b1b917352f6712 (diff)
downloadegawk-b2f8d3e75f58946803addd6c17a02699178bfc21.tar.gz
egawk-b2f8d3e75f58946803addd6c17a02699178bfc21.tar.bz2
egawk-b2f8d3e75f58946803addd6c17a02699178bfc21.zip
Improve bisonfix.awk. Fix errors in ChangeLog.
Diffstat (limited to 'bisonfix.awk')
-rw-r--r--bisonfix.awk29
1 files changed, 15 insertions, 14 deletions
diff --git a/bisonfix.awk b/bisonfix.awk
index abb4f904..87fe9ee9 100644
--- a/bisonfix.awk
+++ b/bisonfix.awk
@@ -21,20 +21,21 @@
BEGIN { sfile = ARGV[1] ; ARGV[1] = "-" ; ARGC = 2 }
-/^#if.*\\$/ {
- line = $0
- sub(/\\$/, "", line)
- getline line2
- while (line2 ~ /\\$/) {
- line = line line2
- sub(/\\$/, "", line)
- getline line2
- }
- line = line line2
- sub(/\\$/, "", line)
- print line
- next
-}
+# 2/2013: Comment this out to see if any system still needs it.
+# /^#if.*\\$/ {
+# line = $0
+# sub(/\\$/, "", line)
+# getline line2
+# while (line2 ~ /\\$/) {
+# line = line line2
+# sub(/\\$/, "", line)
+# getline line2
+# }
+# line = line line2
+# sub(/\\$/, "", line)
+# print line
+# next
+# }
/^#line.*y\.tab\.c/ { sub(/y.tab/, sfile) }