Changeset 7dc2e57b for src


Ignore:
Timestamp:
Jul 15, 2019, 2:43:38 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
a87d40b, e67991f
Parents:
ce12e2b (diff), 4f37255 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rce12e2b r7dc2e57b  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue May 28 17:06:37 2019
    13 // Update Count     : 4354
     12// Last Modified On : Sun Jul 14 07:54:30 2019
     13// Update Count     : 4355
    1414//
    1515
     
    678678
    679679argument_expression_list:
    680         argument_expression
     680        // empty
     681                { $$ = nullptr; }
     682        | argument_expression
    681683        | argument_expression_list ',' argument_expression
    682684                { $$ = (ExpressionNode *)( $1->set_last( $3 )); }
     
    684686
    685687argument_expression:
    686         // empty
    687                 { $$ = nullptr; }
    688         | '@'                                                                                           // CFA, default parameter
     688        '@'                                                                                                     // CFA, default parameter
    689689                { SemanticError( yylloc, "Default parameter for argument is currently unimplemented." ); $$ = nullptr; }
    690690                // { $$ = new ExpressionNode( build_constantInteger( *new string( "2" ) ) ); }
Note: See TracChangeset for help on using the changeset viewer.