diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-05-12 00:49:00 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-05-12 00:49:00 +0300 |
commit | 3d1c6de63853dc141b919dc853ade4380a478206 (patch) | |
tree | c5c851baa695dbe332db58db347e55248e021dd1 /compiler/pragmas.nim | |
parent | 9a6f47ae69ff3730cc33092c52b3e42187446ccb (diff) | |
download | Nim-3d1c6de63853dc141b919dc853ade4380a478206.tar.gz |
get rid of the SymTab* procs in astalgo
Diffstat (limited to 'compiler/pragmas.nim')
-rw-r--r-- | compiler/pragmas.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim index ba761739a..e623acd06 100644 --- a/compiler/pragmas.nim +++ b/compiler/pragmas.nim @@ -409,7 +409,7 @@ proc semAsmOrEmit*(con: PContext, n: PNode, marker: char): PNode = if c < 0: sub = substr(str, b + 1) else: sub = substr(str, b + 1, c - 1) if sub != "": - var e = SymtabGet(con.tab, getIdent(sub)) + var e = searchInScopes(con, getIdent(sub)) if e != nil: if e.kind == skStub: loadStub(e) addSon(result, newSymNode(e)) |