Changes in src/Parser/DeclarationNode.cc [201aeb9:e3e16bc]
- File:
-
- 1 edited
-
src/Parser/DeclarationNode.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r201aeb9 re3e16bc 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 12:34:05 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sat Sep 23 18:16:48201713 // Update Count : 102 411 // Last Modified By : Andrew Beach 12 // Last Modified On : Thr Aug 10 17:02:00 2017 13 // Update Count : 1021 14 14 // 15 15 … … 40 40 using namespace std; 41 41 42 // These must harmonize withthe corresponding DeclarationNode enumerations.43 const char * DeclarationNode::basicTypeNames[] = { "void", "_Bool", "char", "int", "float", "double", "long double", " int128", "float80", "float128", "NoBasicTypeNames" };42 // These must remain in the same order as the corresponding DeclarationNode enumerations. 43 const char * DeclarationNode::basicTypeNames[] = { "void", "_Bool", "char", "int", "float", "double", "long double", "NoBasicTypeNames" }; 44 44 const char * DeclarationNode::complexTypeNames[] = { "_Complex", "_Imaginary", "NoComplexTypeNames" }; 45 45 const char * DeclarationNode::signednessNames[] = { "signed", "unsigned", "NoSignednessNames" }; … … 333 333 DeclarationNode * DeclarationNode::newTypeDecl( string * name, DeclarationNode * typeParams ) { 334 334 DeclarationNode * newnode = new DeclarationNode; 335 newnode->name = name;336 335 newnode->type = new TypeData( TypeData::Symbolic ); 337 336 newnode->type->symbolic.isTypedef = false; 338 337 newnode->type->symbolic.params = typeParams; 338 newnode->type->symbolic.name = name; 339 339 return newnode; 340 340 } // DeclarationNode::newTypeDecl
Note:
See TracChangeset
for help on using the changeset viewer.