diff options
author | Eduardo Julian | 2021-01-08 19:23:52 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-01-08 19:23:52 -0400 |
commit | 1ce30d50abaa330ab2125b110e245de6deda27c7 (patch) | |
tree | 6b40e5d5f1282d33dbd31e64b1753fd0c31be79b /stdlib/source/lux/control/parser/text.lux | |
parent | 75102dcfa7c2c0afd32cb5bf5ac012df2db6a7a1 (diff) |
Moved "log!" function under "lux/debug".
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/control/parser/text.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/control/parser/text.lux b/stdlib/source/lux/control/parser/text.lux index 9fe3b55fd..8065e0794 100644 --- a/stdlib/source/lux/control/parser/text.lux +++ b/stdlib/source/lux/control/parser/text.lux @@ -117,7 +117,7 @@ (exception: #export (cannot_match {reference Text}) (exception.report - ["Reference" (/.encode reference)])) + ["Reference" (/.format reference)])) (def: #export (this reference) {#.doc "Lex a text if it matches the given sample."} @@ -202,8 +202,8 @@ (template [<name>] [(exception: #export (<name> {options Text} {character Char}) (exception.report - ["Options" (/.encode options)] - ["Character" (/.encode (/.from_code character))]))] + ["Options" (/.format options)] + ["Character" (/.format (/.from_code character))]))] [character_should_be] [character_should_not_be] @@ -251,7 +251,7 @@ (exception: #export (character_does_not_satisfy_predicate {character Char}) (exception.report - ["Character" (/.encode (/.from_code character))])) + ["Character" (/.format (/.from_code character))])) (def: #export (satisfies p) {#.doc "Only lex characters that satisfy a predicate."} |