diff options
Diffstat (limited to 'compiler/ccgutils.nim')
-rwxr-xr-x | compiler/ccgutils.nim | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/ccgutils.nim b/compiler/ccgutils.nim index 578512bb0..610fcb39b 100755 --- a/compiler/ccgutils.nim +++ b/compiler/ccgutils.nim @@ -11,11 +11,7 @@ import ast, astalgo, ropes, lists, hashes, strutils, types, msgs, wordrecg, - platform - -proc whichPragma*(n: PNode): TSpecialWord = - var key = if n.kind == nkExprColonExpr: n.sons[0] else: n - if key.kind == nkIdent: result = whichKeyword(key.ident) + platform, trees proc getPragmaStmt*(n: PNode, w: TSpecialWord): PNode = case n.kind |