diff options
Diffstat (limited to 'lexer.c')
-rw-r--r-- | lexer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,7 +131,7 @@ get_digits: Rune *name = L"?"; name[0] = line[offset]; stmt->toks[stmt->ntoks].tag = NameTag; - stmt->toks[stmt->ntoks].symbol = getsym(currentsymtab, name); + stmt->toks[stmt->ntoks].symbol = getsym(name); offset++; }else if(isalpharune(line[offset])){ Rune buf[64]; @@ -143,7 +143,7 @@ get_digits: } *p = 0; stmt->toks[stmt->ntoks].tag = NameTag; - stmt->toks[stmt->ntoks].symbol = getsym(currentsymtab, buf); + stmt->toks[stmt->ntoks].symbol = getsym(buf); }else if(runestrchr(L"⎕⍞", line[offset])){ /* quad names */ Rune buf[64]; |