Changeset 07de76b for src/Parser/parser.yy
- Timestamp:
- Dec 16, 2019, 2:30:41 PM (5 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rab5c0008 r07de76b 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Dec 12 17:54:22201913 // Update Count : 440 412 // Last Modified On : Mon Dec 16 07:45:59 2019 13 // Update Count : 4408 14 14 // 15 15 … … 55 55 #include "TypedefTable.h" 56 56 #include "TypeData.h" 57 #include " LinkageSpec.h"57 #include "SynTree/LinkageSpec.h" 58 58 #include "Common/SemanticError.h" // error_str 59 59 #include "Common/utility.h" // for maybeMoveBuild, maybeBuild, CodeLo... … … 238 238 DeclarationNode * decl; 239 239 AggregateDecl::Aggregate aggKey; 240 DeclarationNode::TypeClasstclass;240 TypeDecl::Kind tclass; 241 241 StatementNode * sn; 242 242 WaitForStmt * wfs; … … 2437 2437 | type_specifier identifier_parameter_declarator 2438 2438 | 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 ); } 2440 2440 ; 2441 2441 2442 2442 type_class: // CFA 2443 2443 OTYPE 2444 { $$ = DeclarationNode::Otype; }2444 { $$ = TypeDecl::Otype; } 2445 2445 | DTYPE 2446 { $$ = DeclarationNode::Dtype; }2446 { $$ = TypeDecl::Dtype; } 2447 2447 | FTYPE 2448 { $$ = DeclarationNode::Ftype; }2448 { $$ = TypeDecl::Ftype; } 2449 2449 | TTYPE 2450 { $$ = DeclarationNode::Ttype; }2450 { $$ = TypeDecl::Ttype; } 2451 2451 ; 2452 2452
Note: See TracChangeset
for help on using the changeset viewer.