Changes in src/Parser/parser.yy [9853d9b0:d912bed]
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r9853d9b0 rd912bed 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 15:32:58 2019 13 // Update Count : 4409 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 … … 2589 2589 { 2590 2590 linkageStack.push( linkage ); // handle nested extern "C"/"Cforall" 2591 linkage = LinkageSpec:: linkageUpdate( yylloc, linkage, $2 );2591 linkage = LinkageSpec::update( yylloc, linkage, $2 ); 2592 2592 } 2593 2593 '{' up external_definition_list_opt down '}'
Note:
See TracChangeset
for help on using the changeset viewer.