On Wed, 19 Oct 2022 10:13:12 -0400
"James K. Lowden" wrote:
The problem is solved, but I don't understand why.
> Further study of the report shows identical terms use different
> states:
>
> 794 search_linear: SEARCH search_1_body ? search_1_cases
> 795 | SEARCH search_1_body ?
On Tue, 18 Oct 2022 13:02:21 -0400
"James K. Lowden" wrote:
> The grammar is meant to handle a series of phrases
>
> WHEN conditional search_stmts
> WHEN conditional search_stmts
Further study of the report shows identical terms use different states:
794 search_linear: SEARCH sear
Either I have tickled a bug, or there's a simple explanation.
Below is a fragment of the current GCC Cobol grammar. (The compiler is
based on gcc; it's not yet officially part of the project.)
search_1_cases is a recursive rule. It takes 1 or more occurences of
search_1_case. Each search_