From f6616f1e417ee8b62daf251aa1daa5d73781c596 Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Wed, 13 Oct 2021 08:19:43 +0200 Subject: [PATCH] Add test for function invocations with and without newline --- corpus/function_calls.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 corpus/function_calls.txt diff --git a/corpus/function_calls.txt b/corpus/function_calls.txt new file mode 100644 index 0000000..e7b758a --- /dev/null +++ b/corpus/function_calls.txt @@ -0,0 +1,32 @@ +=================================================== +add_custom_target without new line [function_calls] +=================================================== + +add_custom_target(OUTPUT somefile) + +--- + +(source_file + (normal_command + (identifier) + (argument (unquoted_argument)) + (argument (unquoted_argument)) + ) + ) + +================================================ +add_custom_target with new line [function_calls] +================================================ + +add_custom_target( + OUTPUT somefile) + +--- + +(source_file + (normal_command + (identifier) + (argument (unquoted_argument)) + (argument (unquoted_argument)) + ) + )