Ignore:
Timestamp:
Dec 16, 2019, 2:30:41 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
bffcd66
Parents:
ab5c0008
git-author:
Peter A. Buhr <pabuhr@…> (12/16/19 14:23:00)
git-committer:
Peter A. Buhr <pabuhr@…> (12/16/19 14:30:41)
Message:

remove file TypeVar?.h* and put TypeVar::Kind into TypeDecl?, move LinkageSpec?.* from directory Parse to SynTree?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rab5c0008 r07de76b  
    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 07:45:59 2019
     13// Update Count     : 4408
    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
Note: See TracChangeset for help on using the changeset viewer.