aboutsummaryrefslogtreecommitdiff
path: root/lib/text.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-01-11 15:32:54 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-01-11 15:32:54 -0800
commit7251f750876fd7839e1d4c4a31e1448ec6ad2acb (patch)
tree36f6d569b5e8c662d711d9aa39cd30813829b03d /lib/text.nom
parent1e0dc6e4775168c2610774ea29ed512c5451afe6 (diff)
Added "local %" macro as a stopgap for locals.
Diffstat (limited to 'lib/text.nom')
-rw-r--r--lib/text.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/text.nom b/lib/text.nom
index f7e4b00..7fa1a2c 100644
--- a/lib/text.nom
+++ b/lib/text.nom
@@ -2,7 +2,7 @@ use "lib/metaprogramming.nom"
use "lib/control_flow.nom"
use "lib/collections.nom"
-lua> "local \%ansi, \%colors"
+local [%ansi, %colors]
set %ansi = {..}
nl="\\n", newline="\\n", tab="\\t", bell="\\a", cr="\\r", "carriage return"="\\r"
backspace="\\b", "form feed"="\\f", formfeed="\\f", "vertical tab"="\\v"