mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-20 05:41:42 +00:00
fixes regression
This commit is contained in:
@@ -1658,8 +1658,6 @@ proc loadNifModule*(c: var DecodeContext; suffix: ModuleSuffix; interf, interfHi
|
||||
|
||||
# Load the module AST (or just replay actions if loadFullAst is false)
|
||||
let s = addr c.mods[module].stream
|
||||
s.r.jumpTo 0 # Start from beginning
|
||||
discard processDirectives(s.r)
|
||||
var t = next(s[])
|
||||
if t.kind == ParLe and pool.tags[t.tagId] == toNifTag(nkStmtList):
|
||||
t = next(s[]) # skip (stmts
|
||||
|
||||
Reference in New Issue
Block a user