bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] fatal: cannot assign to arbitrary elements of SYMTAB


From: Peng Yu
Subject: [bug-gawk] fatal: cannot assign to arbitrary elements of SYMTAB
Date: Tue, 16 Apr 2019 16:05:25 -0500

Hi,

The following command used to work. But it stops working in "GNU Awk
5.0.0, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)".

$ awk -e 'BEGIN { SYMTAB["foo"] = "1"; print SYMTAB["foo"] }'
awk: cmd. line:1: fatal: cannot assign to arbitrary elements of SYMTAB

Is there anything that can be done to get the original behavior? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]