aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-07-05 01:55:02 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-07-05 01:55:02 -0400
commite51e6f840cb2414cad6e816aea7adea74ee8b1b8 (patch)
tree17436845b260c54ab017453061a4bd11a89fe2bc
parent6ba91c1f64ee787c396210260d39f054cbe77dbb (diff)
Tweak syntax for debug prints
-rw-r--r--parse.c2
-rw-r--r--test/text.tm2
2 files changed, 2 insertions, 2 deletions
diff --git a/parse.c b/parse.c
index 13c37862..10d42df8 100644
--- a/parse.c
+++ b/parse.c
@@ -2035,7 +2035,7 @@ PARSER(parse_doctest) {
PARSER(parse_say) {
const char *start = pos;
- if (!match(&pos, "!!")) return NULL;
+ if (!match(&pos, "|")) return NULL;
spaces(&pos);
ast_list_t *chunks = NULL;
diff --git a/test/text.tm b/test/text.tm
index c665d588..27c8c08a 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -1,6 +1,6 @@
func main():
>> str := "Hello Amélie!"
- !! Testing strings like {str}
+ | Testing strings like {str}
>> str:upper()
= "HELLO AMÉLIE!"