Changeset 275 for trunk/idl-compiler
- Timestamp:
- Mar 26, 2007, 10:17:04 PM (18 years ago)
- Location:
- trunk/idl-compiler
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/idl-compiler/Makefile
r271 r275 36 36 $(OBJDIR)/lineinfo_parser.o \ 37 37 $(OBJDIR)/metaclass_parser.o \ 38 $(OBJDIR)/filestem_parser.o \ 38 39 $(OBJDIR)/h_file_emitter.o \ 39 40 $(OBJDIR)/printdata.o -
trunk/idl-compiler/c/nom-idl-compiler.c
r272 r275 85 85 {"NOMCLASSNAME", IDL_SYMBOL_CLSNAME, KIND_UNKNOWN}, 86 86 {"NOMMETACLASS", IDL_SYMBOL_OLDMETACLASS, KIND_UNKNOWN}, 87 {"MetaClass", IDL_SYMBOL_METACLASS, KIND_UNKNOWN}, 87 {"metaclass", IDL_SYMBOL_METACLASS, KIND_UNKNOWN}, 88 {"filestem", IDL_SYMBOL_FILESTEM, KIND_UNKNOWN}, 88 89 {"native", IDL_SYMBOL_NATIVE, KIND_UNKNOWN}, 89 90 {"gulong", IDL_SYMBOL_GULONG, KIND_TYPESPEC}, -
trunk/idl-compiler/c/printdata.c
r272 r275 146 146 g_printf("\tMetaclass:\t%s\n", (pif->chrMetaClass ? pif->chrMetaClass : "None")); 147 147 g_printf("\tSource file:\t%s\n", pif->chrSourceFileName); 148 if(pif->chrFileStem) 149 g_printf("\tFile stem:\t%s\n", pif->chrFileStem); 148 150 /* Print instance vars */ 149 151 g_printf("\tInstance vars:\t%d\n", pif->pInstanceVarArray->len); … … 168 170 g_printf("\tMetaclass:\t%s\n", (pif->chrMetaClass ? pif->chrMetaClass : "None")); 169 171 g_printf("\tSource file:\t%s\n", pif->chrSourceFileName); 172 if(pif->chrFileStem) 173 g_printf("\tFile stem:\t%s\n", pif->chrFileStem); 170 174 /* Print instance vars */ 171 175 g_printf("\tInstance vars:\t%d\n", pif->pInstanceVarArray->len); -
trunk/idl-compiler/include/parser.h
r272 r275 85 85 char* chrSourceFileName; /* The preprocessor includes files for us. This is the info 86 86 about the file this interface is defined in. */ 87 char* chrFileStem; /* Holding output filestem */ 87 88 GPtrArray *pMethodArray; 88 89 GPtrArray *pOverrideArray; … … 125 126 IDL_SYMBOL_OLDMETACLASS, 126 127 IDL_SYMBOL_METACLASS, 128 IDL_SYMBOL_FILESTEM, /* Followed by the file name for output */ 127 129 IDL_SYMBOL_NATIVE, 128 130 /* Some GLib types */ … … 171 173 void parsePreprocLineInfo(void); 172 174 void parseMetaClass(void); 175 void parseFileStem(void); 173 176 174 177 void emitHFile(GPtrArray* pInterfaceArray); -
trunk/idl-compiler/parser_c/interface_parser.c
r272 r275 129 129 case IDL_SYMBOL_METACLASS: 130 130 parseMetaClass(); 131 break; 132 case IDL_SYMBOL_FILESTEM: 133 parseFileStem(); 131 134 break; 132 135 default:
Note:
See TracChangeset
for help on using the changeset viewer.