Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r9853d9b0 rd912bed  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Dec 12 17:54:22 2019
    13 // Update Count     : 4404
     12// Last Modified On : Mon Dec 16 15:32:58 2019
     13// Update Count     : 4409
    1414//
    1515
     
    5555#include "TypedefTable.h"
    5656#include "TypeData.h"
    57 #include "LinkageSpec.h"
     57#include "SynTree/LinkageSpec.h"
    5858#include "Common/SemanticError.h"                                               // error_str
    5959#include "Common/utility.h"                                                             // for maybeMoveBuild, maybeBuild, CodeLo...
     
    238238        DeclarationNode * decl;
    239239        AggregateDecl::Aggregate aggKey;
    240         DeclarationNode::TypeClass tclass;
     240        TypeDecl::Kind tclass;
    241241        StatementNode * sn;
    242242        WaitForStmt * wfs;
     
    24372437        | type_specifier identifier_parameter_declarator
    24382438        | assertion_list
    2439                 { $$ = DeclarationNode::newTypeParam( DeclarationNode::Dtype, new string( DeclarationNode::anonymous.newName() ) )->addAssertions( $1 ); }
     2439                { $$ = DeclarationNode::newTypeParam( TypeDecl::Dtype, new string( DeclarationNode::anonymous.newName() ) )->addAssertions( $1 ); }
    24402440        ;
    24412441
    24422442type_class:                                                                                             // CFA
    24432443        OTYPE
    2444                 { $$ = DeclarationNode::Otype; }
     2444                { $$ = TypeDecl::Otype; }
    24452445        | DTYPE
    2446                 { $$ = DeclarationNode::Dtype; }
     2446                { $$ = TypeDecl::Dtype; }
    24472447        | FTYPE
    2448                 { $$ = DeclarationNode::Ftype; }
     2448                { $$ = TypeDecl::Ftype; }
    24492449        | TTYPE
    2450                 { $$ = DeclarationNode::Ttype; }
     2450                { $$ = TypeDecl::Ttype; }
    24512451        ;
    24522452
     
    25892589                {
    25902590                        linkageStack.push( linkage );                           // handle nested extern "C"/"Cforall"
    2591                         linkage = LinkageSpec::linkageUpdate( yylloc, linkage, $2 );
     2591                        linkage = LinkageSpec::update( yylloc, linkage, $2 );
    25922592                }
    25932593          '{' up external_definition_list_opt down '}'
Note: See TracChangeset for help on using the changeset viewer.