From 6f30ce2e6094b48d2383ba4b2b6a1282fe2d0748 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Tue, 8 Oct 2024 22:45:38 +0200 Subject: [PATCH 1/4] Add test case for broken promise at EOF --- Units/parser-php.r/wp-guest.b/args.ctags | 3 ++ Units/parser-php.r/wp-guest.b/expected.tags | 14 ++++++ Units/parser-php.r/wp-guest.b/input.php | 55 +++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 Units/parser-php.r/wp-guest.b/args.ctags create mode 100644 Units/parser-php.r/wp-guest.b/expected.tags create mode 100644 Units/parser-php.r/wp-guest.b/input.php diff --git a/Units/parser-php.r/wp-guest.b/args.ctags b/Units/parser-php.r/wp-guest.b/args.ctags new file mode 100644 index 0000000000..eb69a967a6 --- /dev/null +++ b/Units/parser-php.r/wp-guest.b/args.ctags @@ -0,0 +1,3 @@ +--sort=no +--extras=+rg +--fields=+rln diff --git a/Units/parser-php.r/wp-guest.b/expected.tags b/Units/parser-php.r/wp-guest.b/expected.tags new file mode 100644 index 0000000000..dd3d9b4039 --- /dev/null +++ b/Units/parser-php.r/wp-guest.b/expected.tags @@ -0,0 +1,14 @@ +top input.php /^
$/;" I line:3 language:HTML roles:def +inner input.php /^
$/;" c line:4 language:HTML roles:attribute +logo input.php /^