aboutsummaryrefslogtreecommitdiff
path: root/compatibility/2.nom
diff options
context:
space:
mode:
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)")