From 84d412db7f6760aa227a987f447c1e485674c240 Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Sun, 11 Apr 2021 01:08:13 +0200 Subject: [PATCH] Add more tests for bracket argument --- corpus/bracket_argument.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/corpus/bracket_argument.txt b/corpus/bracket_argument.txt index 65d16fd..d838358 100644 --- a/corpus/bracket_argument.txt +++ b/corpus/bracket_argument.txt @@ -92,3 +92,38 @@ message([[First argument]] [[Second argument]]) ) ) ) + +===================================== +Two bracket with two equals arguments +===================================== + +message( + [====[First argument]====] + [====[Second argument]====] +) + +--- +(source_file + (command_invocation + (identifier) + (seperation (space)) + (arguments + (argument + (bracket_argument + (bracket_open) + (bracket_content) + (bracket_close) + ) + ) + (seperation (space)) + (argument + (bracket_argument + (bracket_open) + (bracket_content) + (bracket_close) + ) + ) + (seperation (line_ending (newline))) + ) + ) +)