aboutsummaryrefslogtreecommitdiff
path: root/compatibility/2.nom
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility/2.nom')
-rw-r--r--compatibility/2.nom4
1 files changed, 1 insertions, 3 deletions
diff --git a/compatibility/2.nom b/compatibility/2.nom
index 36917b1..a7a3afe 100644
--- a/compatibility/2.nom
+++ b/compatibility/2.nom
@@ -8,11 +8,9 @@ upgrade %tree to "2" as:
%true_body = (%tree.3 upgraded)
unless (%true_body is "Block" syntax tree):
%true_body = (=lua "Block(\%true_body.source, \%true_body)")
-
%false_body = (%tree.5 upgraded)
unless (%false_body is "Block" syntax tree):
%false_body = (=lua "Block(\%false_body.source, \%false_body)")
-
return (..)
\(if %cond %true_body else %false_body) with vars {..}
cond:%tree.2 upgraded, true_body:%true_body, false_body:%false_body
@@ -30,4 +28,4 @@ upgrade %tree to "2" as:
%body = (last in %bits)
%bits.(length of %bits) = (=lua "Block(\%body.source, \%body)")
- return (=lua "Action(\%tree.source, unpack(\%bits))") \ No newline at end of file
+ return (=lua "Action(\%tree.source, unpack(\%bits))")