aboutsummaryrefslogtreecommitdiff
path: root/lib/core/metaprogramming.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-03-27 15:22:46 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-03-27 15:22:46 -0700
commita1849da175765350e013bdeecfa4e0ad3c066937 (patch)
tree616a115790271757148044e2b3228fb715c00726 /lib/core/metaprogramming.nom
parentbb07e6724118c431c3beed4060776678128905a1 (diff)
Autoformat (mostly just to do with the new
blank-line-after-end-of-multi-indent-block rule
Diffstat (limited to 'lib/core/metaprogramming.nom')
-rw-r--r--lib/core/metaprogramming.nom3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/metaprogramming.nom b/lib/core/metaprogramming.nom
index bd0b6d7..a9649c6 100644
--- a/lib/core/metaprogramming.nom
+++ b/lib/core/metaprogramming.nom
@@ -248,6 +248,7 @@ test:
with external [$x]:
$x = "inner"
$y = "inner"
+
set external x local y
unless (($x == "inner") and ($y == "outer")):
fail "'with external' failed."
@@ -516,4 +517,4 @@ test:
($tree with $t -> $replacement) parses as ($tree, with ($t -> $replacement))
[tree $tree with vars $replacements, $tree with vars $replacements] all parse as
$tree, with $replacements
-($tree has subtree $match_tree) parses as ($tree, contains $match_tree)
+($tree has subtree $match_tree) parses as ($tree, contains $match_tree) \ No newline at end of file