aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-09-04 13:24:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-09-04 13:24:13 +0300
commita9440d51fdf9286dc657b10368503aecb74eb19d (patch)
tree09aa2cf163c05802431a70b312ca1e465dffe937 /awkgram.y
parente7114e7a7fd4342a690c8214a9c0e64eb5f927b3 (diff)
downloadegawk-a9440d51fdf9286dc657b10368503aecb74eb19d.tar.gz
egawk-a9440d51fdf9286dc657b10368503aecb74eb19d.tar.bz2
egawk-a9440d51fdf9286dc657b10368503aecb74eb19d.zip
Make PROCINFO["identifiers"] smarter about arrays.
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.y b/awkgram.y
index cfc12e78..72d79312 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -2147,7 +2147,7 @@ simple_variable
{
char *arr = $1->lextok;
- $1->memory = variable($1->source_line, arr, Node_var_new);
+ $1->memory = variable($1->source_line, arr, Node_var_array);
$1->opcode = Op_push_array;
$$ = list_prepend($2, $1);
}