summary refs log tree commit diff stats
path: root/lib/pure/subexes.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/subexes.nim')
-rw-r--r--lib/pure/subexes.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/subexes.nim b/lib/pure/subexes.nim
index 351b3c086..9d807abd4 100644
--- a/lib/pure/subexes.nim
+++ b/lib/pure/subexes.nim
@@ -46,12 +46,12 @@ type
     num, i, lineLen: int
 {.deprecated: [TFormatParser: FormatParser].}
 
-template call(x: stmt) {.immediate.} =
+template call(x: untyped): untyped =
   p.i = i
   x
   i = p.i
 
-template callNoLineLenTracking(x: stmt) {.immediate.} =
+template callNoLineLenTracking(x: untyped): untyped =
   let oldLineLen = p.lineLen
   p.i = i
   x