diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-02-12 20:01:25 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-02-12 20:01:25 +0200 |
commit | b2f8d3e75f58946803addd6c17a02699178bfc21 (patch) | |
tree | 5a6a923258e43f35486ce530e4cbed4df08799db /bisonfix.awk | |
parent | 71b40c8909aff9d8d817d04be5b1b917352f6712 (diff) | |
download | egawk-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.awk | 29 |
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) } |