From c16b1dfe4b0542b17e6b595f4024450169157120 Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Thu, 17 Jun 2021 22:45:35 +0200 Subject: [PATCH] Add while test cases --- corpus/while.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 corpus/while.txt diff --git a/corpus/while.txt b/corpus/while.txt new file mode 100644 index 0000000..bc0c61f --- /dev/null +++ b/corpus/while.txt @@ -0,0 +1,41 @@ +=================== +Empty while [while] +=================== + +while(cond) +endwhile() + +--- + +(source_file + (while_loop + (while_command + (while) + (argument (unquoted_argument)) + ) + (endwhile_command (endwhile)) + ) +) + +============================================ +Empty while with argument in endwhile[while] +============================================ + +while(cond) +endwhile(cond) + +--- + +(source_file + (while_loop + (while_command + (while) + (argument (unquoted_argument)) + ) + (endwhile_command + (endwhile) + (argument (unquoted_argument)) + ) + ) +) +