aboutsummaryrefslogtreecommitdiffstats
path: root/bisonfix.awk
diff options
context:
space:
mode:
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