From 2b7323eaf0d115d5697c623b4348ffc2bf43c91b Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 24 Mar 2025 12:07:55 +0000 Subject: [PATCH] Test non-recursive comments --- test/corpus/comments.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/corpus/comments.txt b/test/corpus/comments.txt index a816b3c..cad3a8c 100644 --- a/test/corpus/comments.txt +++ b/test/corpus/comments.txt @@ -116,6 +116,19 @@ Block comment is not recursive (source_file (comment)) +================================================================================ +Block comment is not recursive (error) +================================================================================ + +/* /* */ */ + +-------------------------------------------------------------------------------- + +(source_file + (comment) + (ERROR + (UNEXPECTED '*'))) + ================================================================================ Unterminated comment ================================================================================