summary refs log tree commit diff stats
path: root/compiler/ccgutils.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ccgutils.nim')
-rwxr-xr-xcompiler/ccgutils.nim6
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