View | Details | Raw Unified | Return to issue 65788
Collapse All | Expand All

(-)source/astdeclaration.cxx (-3 / +35 lines)
Lines 179-185 Link Here
179
		DeclList::const_iterator iter = pScope->getIteratorBegin();
179
		DeclList::const_iterator iter = pScope->getIteratorBegin();
180
		DeclList::const_iterator end = pScope->getIteratorEnd();
180
		DeclList::const_iterator end = pScope->getIteratorEnd();
181
		AstDeclaration* pDecl = NULL;
181
		AstDeclaration* pDecl = NULL;
182
		while ( iter != end && bRet)
182
		while ( (iter != end) && bRet)
183
		{
183
		{
184
			pDecl = *iter;
184
			pDecl = *iter;
185
			if ( pDecl->isInMainfile() )
185
			if ( pDecl->isInMainfile() )
Lines 187-206 Link Here
187
				switch ( pDecl->getNodeType() )
187
				switch ( pDecl->getNodeType() )
188
				{
188
				{
189
					case NT_module:
189
					case NT_module:
190
fprintf(stderr,"NT_module\n");fflush(stderr);
191
bRet = pDecl->dump(rKey);
192
break;
190
					case NT_constants:
193
					case NT_constants:
194
fprintf(stderr,"NT_module\n");fflush(stderr);
195
bRet = pDecl->dump(rKey);
196
break;
191
					case NT_interface:
197
					case NT_interface:
198
fprintf(stderr,"NT_interface\n");fflush(stderr);
199
bRet = pDecl->dump(rKey);
200
break;
192
					case NT_struct:
201
					case NT_struct:
202
fprintf(stderr,"NT_struct\n");fflush(stderr);
203
bRet = pDecl->dump(rKey);
204
break;
193
					case NT_exception:
205
					case NT_exception:
206
fprintf(stderr,"NT_exception\n");fflush(stderr);
207
bRet = pDecl->dump(rKey);
208
break;
194
					case NT_enum:
209
					case NT_enum:
210
fprintf(stderr,"NT_enum\n");fflush(stderr);
211
bRet = pDecl->dump(rKey);
212
break;
195
					case NT_union:
213
					case NT_union:
214
fprintf(stderr,"NT_union\n");fflush(stderr);
215
bRet = pDecl->dump(rKey);
216
break;
196
					case NT_typedef:
217
					case NT_typedef:
218
fprintf(stderr,"NT_typedef\n");fflush(stderr);
219
bRet = pDecl->dump(rKey);
220
break;
197
					case NT_service:
221
					case NT_service:
222
fprintf(stderr,"NT_service\n");fflush(stderr);
223
bRet = pDecl->dump(rKey);
224
break;
198
					case NT_singleton:
225
					case NT_singleton:
199
						bRet = pDecl->dump(rKey);
226
fprintf(stderr,"NT_singleton\n");fflush(stderr);
227
bRet = pDecl->dump(rKey);
228
break;						bRet = pDecl->dump(rKey);
229
					default:
230
fprintf(stderr,"default\n");fflush(stderr);
200
				}	
231
				}	
201
			}
232
			}
202
			++iter;
233
			++iter;
203
		}		
234
		}	
204
	}
235
	}
236
fprintf(stderr,"return\n");fflush(stderr);
205
	return bRet;
237
	return bRet;
206
}	
238
}	

Return to issue 65788