diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-27 13:38:58 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-27 13:39:22 -0700 |
| commit | 930d522fbc3ab57faa926ed85f0d35d661722402 (patch) | |
| tree | 8c91c71728b43b4e1817ed182c39bf991cb4b2a9 /compatibility | |
| parent | c6a7b0be9ebdddb58a03749705987cb3058060d3 (diff) | |
Bunch of miscellaneous changes. Paved the way a little bit for having
different compiler domains.
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)") |
