aboutsummaryrefslogtreecommitdiff
path: root/lib/compatibility/2.4.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-03-20 16:41:44 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-03-20 16:41:44 -0700
commit56e3a0c48ca2b641f77f7e73cce94dc3b133e142 (patch)
tree8efd996580e3bcd7845b39a0f7efe7bc0818a793 /lib/compatibility/2.4.nom
parentb44afbf417d602b7f018cd4d24ff07c2bc6d8b6e (diff)
Restoring `(foo) syntax to \(foo)
Diffstat (limited to 'lib/compatibility/2.4.nom')
-rw-r--r--lib/compatibility/2.4.nom15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/compatibility/2.4.nom b/lib/compatibility/2.4.nom
index b28893a..480257a 100644
--- a/lib/compatibility/2.4.nom
+++ b/lib/compatibility/2.4.nom
@@ -1,5 +1,4 @@
#!/usr/bin/env nomsu -V7.0.0
-
###
This file defines upgrades from Nomsu <2.4 to Nomsu 2.4
@@ -30,7 +29,7 @@ upgrade $tree to "2.4" as:
$new_lines, add $line
($line.stub == "* else"):
- $new_lines, add (else `$line.3)
+ $new_lines, add (else \$line.3)
else:
$conditions, add $line.2
@@ -44,7 +43,7 @@ upgrade $tree to "2.4" as:
")
$conditions = []
- return `(when `("Block" tree from $tree.2.source with (unpack $new_lines)))
+ return \(when \("Block" tree from $tree.2.source with (unpack $new_lines)))
"if 1 is ?" "if 1 = ?":
$values = []
@@ -64,7 +63,7 @@ upgrade $tree to "2.4" as:
$new_lines, add $line
($line.stub == "* else"):
- $new_lines, add (else `$line.3)
+ $new_lines, add (else \$line.3)
else:
$values, add $line.2
@@ -77,7 +76,7 @@ upgrade $tree to "2.4" as:
$values = []
return
- `(
- if `($tree.2 upgraded) is
- `("Block" tree from $tree.5.source with (unpack $new_lines))
- )
+ \(
+ if \($tree.2 upgraded) is
+ \("Block" tree from $tree.5.source with (unpack $new_lines))
+ ) \ No newline at end of file