summary refs log tree commit diff stats
path: root/compiler/pragmas.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-11-07 11:56:36 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-11-07 14:20:39 +0100
commit14a0182ca68a33cb53cfd28383f47ce37977721c (patch)
treec9ff378458e7331bd9689dd1d09e60304318eaf0 /compiler/pragmas.nim
parent0d00bde4ea820b07861b19bc8bb836d4b0822f8f (diff)
downloadNim-14a0182ca68a33cb53cfd28383f47ce37977721c.tar.gz
pragmas.nim: tiny code formatting
Diffstat (limited to 'compiler/pragmas.nim')
-rw-r--r--compiler/pragmas.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim
index d4f0eecfd..8639f8e7b 100644
--- a/compiler/pragmas.nim
+++ b/compiler/pragmas.nim
@@ -733,7 +733,6 @@ proc semCustomPragma(c: PContext, n: PNode): PNode =
     return n
 
   let r = c.semOverloadedCall(c, callNode, n, {skTemplate}, {efNoUndeclared})
-
   if r.isNil or sfCustomPragma notin r[0].sym.flags:
     invalidPragma(c, n)
     return n
@@ -749,7 +748,7 @@ proc semCustomPragma(c: PContext, n: PNode): PNode =
 
 proc singlePragma(c: PContext, sym: PSym, n: PNode, i: var int,
                   validPragmas: TSpecialWords,
-                  comesFromPush, isStatement: bool) : bool =
+                  comesFromPush, isStatement: bool): bool =
   var it = n.sons[i]
   var key = if it.kind in nkPragmaCallKinds and it.len > 1: it.sons[0] else: it
   if key.kind == nkBracketExpr: