Changeset 578e603


Ignore:
Timestamp:
Jul 13, 2017, 4:14:43 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
24fc196
Parents:
e9a3c69d
Message:

extend syntax for with to include expressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    re9a3c69d r578e603  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jul 12 18:23:36 2017
    13 // Update Count     : 2426
     12// Last Modified On : Thu Jul 13 14:38:54 2017
     13// Update Count     : 2431
    1414//
    1515
     
    939939
    940940with_statement:
    941         WITH identifier_list compound_statement
     941        WITH '(' tuple_expression_list ')' compound_statement
    942942                { $$ = (StatementNode *)0; }                                    // FIX ME
    943943        ;
     
    22222222        // empty
    22232223                { $$ = (StatementNode *)0; }                                    // FIX ME
    2224         | WITH identifier_list
     2224        | WITH '(' tuple_expression_list ')'
    22252225                { $$ = (StatementNode *)0; }                                    // FIX ME
    22262226        ;
Note: See TracChangeset for help on using the changeset viewer.