diff options
Diffstat (limited to 'compiler/semexprs.nim')
-rwxr-xr-x | compiler/semexprs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index af4d4b6bc..6dbbba7b8 100755 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -903,7 +903,7 @@ proc semExpandMacroToAst(c: PContext, n: PNode, flags: TExprFlags): PNode = var s = qualifiedLookup(c, macroCall.sons[0], {checkUndeclared}) if s == nil: - GlobalError(n.info, errUndeclaredIdentifier, macroCall.sons[0].strVal) + GlobalError(n.info, errUndeclaredIdentifier, macroCall.sons[0].renderTree) var expanded : Pnode |