mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 18:02:05 +00:00
Fixes #1200
This commit is contained in:
@@ -15,7 +15,8 @@ import
|
||||
|
||||
proc ensureNoMissingOrUnusedSymbols(scope: PScope)
|
||||
|
||||
proc considerAccents*(n: PNode): PIdent =
|
||||
proc considerAccents*(n: PNode): PIdent =
|
||||
## Retrieve a PIdent from a PNode, taking into account accent nodes.
|
||||
case n.kind
|
||||
of nkIdent: result = n.ident
|
||||
of nkSym: result = n.sym.name
|
||||
|
||||
Reference in New Issue
Block a user