Ignore:
Timestamp:
Mar 25, 2007, 8:32:59 PM (18 years ago)
Author:
cinc
Message:

Code cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/include/parser.h

    r269 r271  
    8484  gulong ulMinor;    /* Class version            */
    8585  gboolean fIsForwardDeclaration;
     86  gboolean fIsInRootFile;
    8687  gchar* chrMetaClass; /* Pointer to metaclass name or NULL*/
     88  char*  chrSourceFileName; /* The preprocessor includes files for us. This is the info
     89                               about the file this interface is defined in. */
    8790  GPtrArray *pMethodArray;
    8891  GPtrArray *pOverrideArray;
     
    101104typedef struct
    102105{
    103   const SYMBOL    *pSymbols;     /* List of our introduced symbols */
    104   guint     uiCurSymbolKind;
    105   guint     uiLineCorrection;    /* This is the line number put by the preprocessor into
    106                                     the source file. It's used to calculate proper line numbers
    107                                     for errors. */
    108   char*     chrCurrentSourceFile;/* The preprocessor includes files for us. This is the info
    109                                     about their name. */
     106  guint     _uiCurSymbolKind;
    110107}SYMBOLINFO,*PSYMBOLINFO;
    111108
    112109typedef struct
    113110{
     111  PINTERFACE pCurInterface;      /* The interface we are currently parsing. This is a working pointer. */
     112  guint     uiCurSymbolKind;     /* This may be e.g. KIND_TYPESPEC */
    114113  GTree*    pSymbolTree;         /* Our introduced symbols */
    115114  guint     uiLineCorrection;    /* This is the line number put by the preprocessor into
    116115                                    the source file. It's used to calculate proper line numbers
    117116                                    for errors. */
     117  char*     chrRootSourceFile;   /* File we are intending to parse. Others may get included. */
    118118  char*     chrCurrentSourceFile;/* The preprocessor includes files for us. This is the info
    119119                                    about their name. */
     
    179179void parsePreprocLineInfo(void);
    180180void parseMetaClass(void);
     181
     182void emitHFile(GPtrArray* pInterfaceArray);
Note: See TracChangeset for help on using the changeset viewer.