summaryrefslogtreecommitdiff
path: root/bisonfix.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-01-11 14:14:18 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-01-11 14:14:18 +0200
commit478109e116820b48e0fa7769698e2498038c11b8 (patch)
treed5e9cc50c04f971cd40895ce14a5156d4edb2451 /bisonfix.awk
parent8a64478e8d953ed249ecd18a8ec7fb19f69c167c (diff)
downloadgawk-478109e116820b48e0fa7769698e2498038c11b8.tar.gz
Minor fix to bisonfix.awk.
Diffstat (limited to 'bisonfix.awk')
-rw-r--r--bisonfix.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bisonfix.awk b/bisonfix.awk
index a759d25b..de68c739 100644
--- a/bisonfix.awk
+++ b/bisonfix.awk
@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-BEGIN { sfile = ARGV[1] ; delete ARGV[1] }
+BEGIN { sfile = ARGV[1] ; ARGV[1] = "-" ; ARGC = 2 }
/^#if.*\\$/ {
line = $0