Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.h

    re04ef3a r7305915  
    1010// Created On       : Sat May 16 13:28:16 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jun 13 16:04:47 2016
    13 // Update Count     : 240
     12// Last Modified On : Mon Jun 27 23:28:10 2016
     13// Update Count     : 242
    1414//
    1515
     
    425425        ExpressionNode *get_enumeratorValue() const { return enumeratorValue; }
    426426
     427        bool get_extension() const { return extension; }
     428        DeclarationNode *set_extension( bool exten ) { extension = exten; return this; }
     429
    427430        DeclarationNode();
    428431        ~DeclarationNode();
     
    440443        bool hasEllipsis;
    441444        LinkageSpec::Type linkage;
     445        bool extension = false;
    442446
    443447        static UniqueName anonymous;
     
    476480        void addDeclaration( DeclarationNode *newDecl ) { decl = newDecl; }
    477481        void setCatchRest( bool newVal ) { isCatchRest = newVal; }
     482
     483        bool get_extension() const { return extension; }
     484        StatementNode *set_extension( bool exten ) { extension = exten; return this; }
    478485
    479486        std::string get_target() const;
     
    495502        DeclarationNode *decl;
    496503        bool isCatchRest;
     504        bool extension = false;
    497505}; // StatementNode
    498506
Note: See TracChangeset for help on using the changeset viewer.