tree-sitter-ada/test/corpus
Piotr Trojanek 68040e7ae8 Accept entry families with no parameters
(entry_body): directly parse entry_body_formal_part

In Ada grammar the entry_body_formal_part both the
entry_index_specification and the parameter_profile are optional
(because they describe both simple entries and entry families,
both with and without parameters). However, tree-sitter does not
allow rules that match empty strings.

The simplest solution is to directly encode entry_body_formal_part
within the entry_body.

add test.
2024-01-05 08:29:29 +01:00
..
access.txt (package_specification): now hidden in trees 2023-02-13 13:51:44 +01:00
arrays.txt (package_specification): now hidden in trees 2023-02-13 13:51:44 +01:00
attributes.txt Add support for slices 2022-12-13 12:29:02 +01:00
choices.txt Correct parsing of discrete_choice expressions. 2023-09-05 09:17:27 +02:00
generics.txt (package_specification): now hidden in trees 2023-02-13 13:51:44 +01:00
literals.txt Task types may have no task_item 2022-12-14 12:24:09 +01:00
packages.txt (package_specification): now hidden in trees 2023-02-13 13:51:44 +01:00
pragmas.txt Accept declare expression in pragma 2024-01-05 08:19:05 +01:00
preprocessor.txt (package_specification): now hidden in trees 2023-02-13 13:51:44 +01:00
protected.txt Accept entry families with no parameters 2024-01-05 08:29:29 +01:00
records.txt Correct parsing of discrete_choice expressions. 2023-09-05 09:17:27 +02:00
renames.txt Inline "statement" 2022-12-12 11:35:04 +01:00
separates.txt Inline all rules that do not consume any character directly 2022-12-09 12:32:06 +01:00
statements.txt Accept aspect specification for extended return object 2024-01-05 08:24:33 +01:00
subprograms.txt (package_specification): now hidden in trees 2023-02-13 13:51:44 +01:00
tasking.txt (package_specification): now hidden in trees 2023-02-13 13:51:44 +01:00
types.txt Correct parsing of discrete_choice expressions. 2023-09-05 09:17:27 +02:00