From 3d1c6de63853dc141b919dc853ade4380a478206 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sun, 12 May 2013 00:49:00 +0300 Subject: get rid of the SymTab* procs in astalgo --- compiler/pragmas.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/pragmas.nim') 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)) -- cgit 1.4.1-2-gfad0