fixes regression: constant fac4 didn't work
This commit is contained in:
parent
cc0a32ae87
commit
3be07d842a
4 changed files with 26 additions and 11 deletions
|
|
@ -1033,7 +1033,7 @@ proc genRdVar(c: PCtx; n: PNode; dest: var TDest) =
|
|||
if s.isGlobal:
|
||||
if sfCompileTime in s.flags or c.mode == emRepl:
|
||||
discard
|
||||
else:
|
||||
elif s.position == 0:
|
||||
cannotEval(n)
|
||||
if s.position == 0:
|
||||
if sfImportc in s.flags: c.importcSym(n.info, s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue