diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-08 22:59:28 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-08 22:59:28 +0300 |
commit | bb331e22c3207863ebd923bd4c8a36c256485c6b (patch) | |
tree | 7039148192ed814eac679ec2ed0e8894b3e18fe8 /symbol.c | |
parent | 4f758771937fcbd59b1fd2db017c4995513c3988 (diff) | |
parent | b504b2707e0780d5f0b347aef9bead0e516813a2 (diff) | |
download | egawk-bb331e22c3207863ebd923bd4c8a36c256485c6b.tar.gz egawk-bb331e22c3207863ebd923bd4c8a36c256485c6b.tar.bz2 egawk-bb331e22c3207863ebd923bd4c8a36c256485c6b.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'symbol.c')
-rw-r--r-- | symbol.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -117,7 +117,9 @@ lookup(const char *name) } unref(tmp); - return n; /* NULL or new place */ + if (n == NULL || n->type == Node_val) /* non-variable in SYMTAB */ + return NULL; + return n; /* new place */ } /* make_params --- allocate function parameters for the symbol table */ |