fix typo (#14063)
This commit is contained in:
parent
7ce0358351
commit
9604a5a97a
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ proc semEnum(c: PContext, n: PNode, prev: PType): PType =
|
|||
e.typ = result
|
||||
e.position = int(counter)
|
||||
let symNode = newSymNode(e)
|
||||
if optNimV1Emulation notin c.config.options and identToReplace != nil:
|
||||
if optNimV1Emulation notin c.config.globalOptions and identToReplace != nil:
|
||||
identToReplace[] = symNode
|
||||
if e.position == 0: hasNull = true
|
||||
if result.sym != nil and sfExported in result.sym.flags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue