Changeset 275 for trunk/idl-compiler/c


Ignore:
Timestamp:
Mar 26, 2007, 10:17:04 PM (18 years ago)
Author:
cinc
Message:

Added filestem parsing.

Location:
trunk/idl-compiler/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/c/nom-idl-compiler.c

    r272 r275  
    8585  {"NOMCLASSNAME", IDL_SYMBOL_CLSNAME, KIND_UNKNOWN},
    8686  {"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},
    8889  {"native", IDL_SYMBOL_NATIVE, KIND_UNKNOWN},
    8990  {"gulong", IDL_SYMBOL_GULONG, KIND_TYPESPEC},
  • trunk/idl-compiler/c/printdata.c

    r272 r275  
    146146      g_printf("\tMetaclass:\t%s\n", (pif->chrMetaClass ? pif->chrMetaClass : "None"));
    147147      g_printf("\tSource file:\t%s\n", pif->chrSourceFileName);
     148      if(pif->chrFileStem)
     149        g_printf("\tFile stem:\t%s\n", pif->chrFileStem);
    148150      /* Print instance vars */
    149151      g_printf("\tInstance vars:\t%d\n", pif->pInstanceVarArray->len);
     
    168170  g_printf("\tMetaclass:\t%s\n", (pif->chrMetaClass ? pif->chrMetaClass : "None"));
    169171  g_printf("\tSource file:\t%s\n", pif->chrSourceFileName);
     172  if(pif->chrFileStem)
     173    g_printf("\tFile stem:\t%s\n", pif->chrFileStem);
    170174  /* Print instance vars */
    171175  g_printf("\tInstance vars:\t%d\n", pif->pInstanceVarArray->len);
Note: See TracChangeset for help on using the changeset viewer.