diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-08 22:59:42 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-08 22:59:42 +0300 |
commit | 2749a64395a021a85410704810f5e0bc06a451a1 (patch) | |
tree | 06a13571d15448891f811374fc10680117b7940e /symbol.c | |
parent | 3d960e32191f2649a85911896f048d3323725b1f (diff) | |
parent | bb331e22c3207863ebd923bd4c8a36c256485c6b (diff) | |
download | egawk-2749a64395a021a85410704810f5e0bc06a451a1.tar.gz egawk-2749a64395a021a85410704810f5e0bc06a451a1.tar.bz2 egawk-2749a64395a021a85410704810f5e0bc06a451a1.zip |
Merge branch 'master' into feature/cmake
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 */ |