Ignore:
Timestamp:
Jul 4, 2016, 9:24:11 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
7fe4cc3
Parents:
0a2c1f1
Message:

add more code to handle gcc extension and test program, second attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.cc

    r0a2c1f1 r8e9cbb2  
    1010// Created On       : Sat May 16 13:26:29 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jun 30 13:30:43 2016
    13 // Update Count     : 50
     12// Last Modified On : Thu Jun 30 21:13:12 2016
     13// Update Count     : 52
    1414//
    1515
     
    157157} // literalType
    158158
     159
    159160ConstantNode *makeConstant( ConstantNode::Type type, std::string *str ) {
    160161        ::Type::Qualifiers emptyQualifiers;                                     // no qualifiers on constants
     
    185186};
    186187
    187 ParseNode *ParseNode::get_link() const {
    188         return next;
    189 }
    190 
    191188ParseNode *ParseNode::get_last() {
    192189        ParseNode *current = this;
     
    200197ParseNode *ParseNode::set_link( ParseNode *next_ ) {
    201198        if ( next_ == 0 ) return this;
    202 
    203199        get_last()->next = next_;
    204 
    205200        return this;
    206201}
Note: See TracChangeset for help on using the changeset viewer.