diff options
Diffstat (limited to 'compatibility')
| -rw-r--r-- | compatibility/2.4.nom | 2 | ||||
| -rw-r--r-- | compatibility/2.nom | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compatibility/2.4.nom b/compatibility/2.4.nom index 2c5cc8e..088e320 100644 --- a/compatibility/2.4.nom +++ b/compatibility/2.4.nom @@ -55,7 +55,7 @@ upgrade %tree to "2.4" as: add %line.2 to %values %action = %line.3 unless (%action is "Block" syntax tree): - %action = (=lua "Block(\%action.source, \%action)") + %action = \(: %action) add %action to %values add (=lua "Action(\%values[1].source, unpack(\%values))") to %new_lines %values = [] 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)") |
