aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:09:26 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:09:26 -0800
commit6f4b67632a544780438110bb11e5122448e24881 (patch)
tree3549eb211df19ff6870d5cf63ad1c25d1880040b /lib/utils.nom
parentc0333ca31532f14ec8ebd841a5f68b2f35e9cc80 (diff)
Renamed String -> Text
Diffstat (limited to 'lib/utils.nom')
-rw-r--r--lib/utils.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils.nom b/lib/utils.nom
index 6af38c8..dec2375 100644
--- a/lib/utils.nom
+++ b/lib/utils.nom
@@ -12,7 +12,7 @@ compile [assert %condition %msg] to code: ".."
parse [assert %condition] as: assert %condition (nil)
-# String functions
+# Text functions
rule [join %strs with glue %glue] =:
lua do> ".."
local str_bits = {}
@@ -93,7 +93,7 @@ compile [sort %items by %key_expr] to: ".."
return \(%key_expr as lua);
end)
-# String utilities
+# Text utilities
compile [nl, newline, line feed, linefeed, lf] to: "'\\n'"
compile [tab] to: "'\\t'"
compile [bell] to: "'\\a'"