aboutsummaryrefslogtreecommitdiff
path: root/compatibility/2.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-27 13:38:58 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-27 13:39:22 -0700
commit930d522fbc3ab57faa926ed85f0d35d661722402 (patch)
tree8c91c71728b43b4e1817ed182c39bf991cb4b2a9 /compatibility/2.nom
parentc6a7b0be9ebdddb58a03749705987cb3058060d3 (diff)
Bunch of miscellaneous changes. Paved the way a little bit for having
different compiler domains.
Diffstat (limited to 'compatibility/2.nom')
-rw-r--r--compatibility/2.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/compatibility/2.nom b/compatibility/2.nom
index 399d485..53d9988 100644
--- a/compatibility/2.nom
+++ b/compatibility/2.nom
@@ -9,7 +9,7 @@ upgrade %tree to "2" as:
if (%tree.stub is "if % % else %"):
%true_body = (%tree.3 upgraded)
unless (%true_body is "Block" syntax tree):
- %true_body = (=lua "Block(\%true_body.source, \%true_body)")
+ %true_body = \(: %true_body)
%false_body = (%tree.5 upgraded)
unless (%false_body is "Block" syntax tree):
%false_body = (=lua "Block(\%false_body.source, \%false_body)")