aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/parser/code.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/parser/code.lux')
-rw-r--r--stdlib/source/library/lux/control/parser/code.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/control/parser/code.lux b/stdlib/source/library/lux/control/parser/code.lux
index e2b1b9c9e..017895abf 100644
--- a/stdlib/source/library/lux/control/parser/code.lux
+++ b/stdlib/source/library/lux/control/parser/code.lux
@@ -57,7 +57,7 @@
{.#Item next _}
{try.#Success [tokens next]})))
-(template [<query> <check> <type> <tag> <eq> <desc>]
+(with_template [<query> <check> <type> <tag> <eq> <desc>]
[(with_expansions [<failure> (these {try.#Failure (all text#composite "Cannot parse " <desc> (remaining_inputs tokens))})]
(def: .public <query>
(Parser <type>)
@@ -155,7 +155,7 @@
_
<failure>))))
-(template [<name> <tag> <desc>]
+(with_template [<name> <tag> <desc>]
[(def: .public (<name> p)
(All (_ a)
(-> (Parser a) (Parser a)))