aboutsummaryrefslogtreecommitdiff
path: root/test/sexp.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-06-05 16:33:21 +0200
committerFederico Angelilli <code@fedang.net>2024-06-05 16:33:32 +0200
commit39b44bad5257b8399d03ed751ec7ba7ab9d6f144 (patch)
tree0d285c68fa9f7cd554e26ec6801eddfa47c00924 /test/sexp.c
parent1a62d39b5199d2e32f8993ffdaf8a9d0be60a6da (diff)
Add string tag and string parsing
Diffstat (limited to 'test/sexp.c')
-rw-r--r--test/sexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sexp.c b/test/sexp.c
index 9277323..f6f0b5e 100644
--- a/test/sexp.c
+++ b/test/sexp.c
@@ -12,8 +12,8 @@ int main()
"() id ciao 20 a1020|x|3a\n"
";comm\n3433 ;s\n"
"'symbol 'another 'a\n"
- "'(a b c) '('a) ''x\n"
- "\"string\" (\"a\" \"b\")\n";
+ "'(a b c) '('a) ''x \"escape \\\"inside the string\"\n"
+ "\"string very long sus\" (\"a\" \"b\")\n";
any_sexp_string_stream_t stream;
any_sexp_parser_t parser;