aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-11-13 23:07:06 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-11-13 23:07:06 +0200
commitfcae661473aab45b7b6f60e949b98acbc2dd1dc7 (patch)
treea8d98747e6c6f7e1481519dffce6ec4ac8ee5694 /symbol.c
parentcafbb82185c4a5fc2608975c048d66017456a038 (diff)
downloadegawk-fcae661473aab45b7b6f60e949b98acbc2dd1dc7.tar.gz
egawk-fcae661473aab45b7b6f60e949b98acbc2dd1dc7.tar.bz2
egawk-fcae661473aab45b7b6f60e949b98acbc2dd1dc7.zip
Bug fix.
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbol.c b/symbol.c
index e698298f..7c770b4b 100644
--- a/symbol.c
+++ b/symbol.c
@@ -403,7 +403,7 @@ get_symbols(SYMBOL_TYPE what, int sort)
for (i = j = 0; i < max; i += 2) {
r = list[i+1];
- if (r->vname == NULL) /* non-variable in SYMTAB */
+ if (r->type == Node_val) /* non-variable in SYMTAB */
continue;
table[j++] = r;
}