Changeset 70056ed


Ignore:
Timestamp:
Mar 30, 2023, 9:47:58 PM (16 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
eb47a80
Parents:
ff443e5
Message:

clean up waituntil grammar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rff443e5 r70056ed  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar 29 17:56:42 2023
    13 // Update Count     : 6325
     12// Last Modified On : Thu Mar 30 21:28:25 2023
     13// Update Count     : 6328
    1414//
    1515
     
    16511651                // Called first: create header for WaitForStmt.
    16521652                { $$ = build_waitfor( new WaitForStmt(), $1, $2, maybe_build_compound( $3 ) ); }
    1653         | wor_waitfor_clause wor when_clause_opt waitfor statement      %prec THEN
     1653        | wor_waitfor_clause wor when_clause_opt waitfor statement
    16541654                { $$ = build_waitfor( $1, $3, $4, maybe_build_compound( $5 ) ); }
    16551655        | wor_waitfor_clause wor when_clause_opt ELSE statement
     
    16951695        wand_waituntil_clause
    16961696                { printf( "wor_waituntil_clause 1\n" ); $$ = nullptr; }
    1697         | wor_waituntil_clause wor wor_waituntil_clause         %prec THEN
     1697        | wor_waituntil_clause wor wand_waituntil_clause
    16981698                { printf( "wor_waituntil_clause 2\n" ); $$ = nullptr; }
    16991699        | wor_waituntil_clause wor when_clause_opt ELSE statement
Note: See TracChangeset for help on using the changeset viewer.