[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gawk] Possible regression of SYMTAB
From: |
Assaf Gordon |
Subject: |
[bug-gawk] Possible regression of SYMTAB |
Date: |
Tue, 6 Nov 2012 18:30:09 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 |
Hello,
Playing around with SYMTAB, I think there's a regression when creating a
variable directly in SYMTAB in the current version.
Test case:
===
$ printf "1\n2\n" | ./gawk '{SYMTAB["POS"]=1 ; print $POS}'
1
gawk: cmd. line:1: (FILENAME=- FNR=2) fatal: internal error line 175, file:
interpret.h
===
This works with 3.1.8, 4.0.1, and upto revision
eb2698f49247c94c84e1e2c2304ba94d96c89bc9 ,
but fails starting with revision b9a82851866f84ca306a2802b4ca50089a2fe683
(which is aptly named "First cut at SYMTAB and FUNCTAB.").
-gordon
- [bug-gawk] Possible regression of SYMTAB,
Assaf Gordon <=