Changes in src/Parser/DeclarationNode.cc [7fdb94e1:af9da5f]
- File:
-
- 1 edited
-
src/Parser/DeclarationNode.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r7fdb94e1 raf9da5f 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 21 20:36:45201813 // Update Count : 107 312 // Last Modified On : Wed May 16 09:37:17 2018 13 // Update Count : 1070 14 14 // 15 15 … … 179 179 newnode->type->function.body = body; 180 180 181 // ignore unnamed routine declarations: void p( int (*)(int) ); 182 if ( newnode->name ) { 183 typedefTable.addToEnclosingScope( *newnode->name, TypedefTable::ID ); 184 } // if 185 181 186 if ( ret ) { 182 187 newnode->type->base = ret->type; … … 280 285 newnode->name = name; 281 286 newnode->enumeratorValue.reset( constant ); 287 typedefTable.addToEnclosingScope( *newnode->name, TypedefTable::ID ); 282 288 return newnode; 283 289 } // DeclarationNode::newEnumConstant
Note:
See TracChangeset
for help on using the changeset viewer.