diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-15 21:50:45 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-15 21:50:45 +0300 |
commit | f4bbf63a287cd73f4eb989539e4813a428bf05ad (patch) | |
tree | 313b4a799a7b58b6bfedbee30be9d0419c748aed /symbol.c | |
parent | 5826beec258141776469c5fd9b703d52c81a35fb (diff) | |
parent | ddb62efafb5659dae532089af83350f066446424 (diff) | |
download | egawk-f4bbf63a287cd73f4eb989539e4813a428bf05ad.tar.gz egawk-f4bbf63a287cd73f4eb989539e4813a428bf05ad.tar.bz2 egawk-f4bbf63a287cd73f4eb989539e4813a428bf05ad.zip |
Merge branch 'master' into feature/fixtype
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 */ |