aboutsummaryrefslogtreecommitdiffstats
path: root/bisonfix.awk
diff options
context:
space:
mode:
authorJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-02-17 16:35:33 +0100
committerJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-02-17 16:35:33 +0100
commit4db69d42558bae4bb3fb4eccc91671ee16ccfe08 (patch)
treea1fc5fcba54e8421878d44913b7156268ffb7ee3 /bisonfix.awk
parenta5f1cf2beb31002f3cd35bfef7cb8af8843fc2b5 (diff)
parent095574f6fe71432416f5be6756ef882ceb148942 (diff)
downloadegawk-4db69d42558bae4bb3fb4eccc91671ee16ccfe08.tar.gz
egawk-4db69d42558bae4bb3fb4eccc91671ee16ccfe08.tar.bz2
egawk-4db69d42558bae4bb3fb4eccc91671ee16ccfe08.zip
Merge remote-tracking branch 'origin/master' into cmake
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) }