diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-11-01 11:58:42 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-11-04 10:41:08 +0200 |
commit | d061c88ae81eb5e1354526f07f9f8d90d0732656 (patch) | |
tree | 0e639efdc35d8fd89804dce728e6fc110c0dc9bb /tests/string-parser/testscript | |
parent | 0befab300849be7ac0f77bc4228f8de50a108191 (diff) |
Add comments parameter to string_parser functions
Diffstat (limited to 'tests/string-parser/testscript')
-rw-r--r-- | tests/string-parser/testscript | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/string-parser/testscript b/tests/string-parser/testscript index d484e01..05c2807 100644 --- a/tests/string-parser/testscript +++ b/tests/string-parser/testscript @@ -30,6 +30,36 @@ x "y z EOO } + + : comments + : + { + $* -c <<EOI >>EOO + # Comment 1 + # + abc #xyz + + # Comment 2 + # + abc# + + "# not a comment 3" #not-a-comment4 + + "abc + # not a comment 5 + " + # Comment 6 + EOI + abc + #xyz + abc# + "# not a comment 3" + #not-a-comment4 + "abc + # not a comment 5 + " + EOO + } } : invalid |