From e38f23a1bd6e0ee093655e1f241e524795f21fec Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 5 Oct 2026 23:57:38 +0200 Subject: Support single-line comments --- testsuite/compilable/comments.elna | 13 +++++++++++++ testsuite/compilable/trailing_text.elna | 6 ------ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 testsuite/compilable/comments.elna delete mode 100644 testsuite/compilable/trailing_text.elna (limited to 'testsuite/compilable') diff --git a/testsuite/compilable/comments.elna b/testsuite/compilable/comments.elna new file mode 100644 index 0000000..502ac21 --- /dev/null +++ b/testsuite/compilable/comments.elna @@ -0,0 +1,13 @@ +module + +(* + This is multi-line + docblock +*) + +-- This is a single-line comment. + +end. + +Everything after the module terminator is ignored and is never scanned, so it +does not have to be Elna: proc 1 2 3 "unterminated diff --git a/testsuite/compilable/trailing_text.elna b/testsuite/compilable/trailing_text.elna deleted file mode 100644 index 0a95516..0000000 --- a/testsuite/compilable/trailing_text.elna +++ /dev/null @@ -1,6 +0,0 @@ -module - -end. - -Everything after the module terminator is ignored and is never scanned, so it -does not have to be Elna: proc 1 2 3 "unterminated -- cgit v1.2.3