Ignore:
Timestamp:
Feb 20, 2017, 12:05:49 PM (9 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
3bff885
Parents:
facc44f (diff), d150ea2 (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

    rfacc44f rbd9bcc8  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Feb  9 15:00:03 2017
    13 // Update Count     : 2184
     12// Last Modified On : Thu Feb 16 15:56:33 2017
     13// Update Count     : 2186
    1414//
    1515
     
    17721772
    17731773abstract_parameter_declaration:
    1774         declaration_specifier
    1775         | declaration_specifier abstract_parameter_declarator
    1776                 { $$ = $2->addType( $1 ); }
     1774        declaration_specifier assignment_opt
     1775                { $$ = $1->addInitializer( $2 ? new InitializerNode( $2 ) : nullptr ); }
     1776        | declaration_specifier abstract_parameter_declarator assignment_opt
     1777                { $$ = $2->addType( $1 )->addInitializer( $3 ? new InitializerNode( $3 ) : nullptr ); }
    17771778        ;
    17781779
Note: See TracChangeset for help on using the changeset viewer.