Commit d3ea42c6 authored by dcw's avatar dcw
Browse files

added some extra tokens,

also ungettok() was still called pushbacktok() in the prototypes
parent d73272f3
......@@ -14,7 +14,8 @@
typedef enum {
tERROR, tEOF, tSEMI, tID, tEQ, tOR,
tOPENBR, tCOMMA, tCLOSEBR, tSTR, tNUM
tOPENBR, tCOMMA, tCLOSEBR, tSTR, tNUM,
tEXPORT, tGLOBAL, tOPENCURLY, tCLOSECURLY, tTYPE
} TOKEN;
......@@ -31,8 +32,10 @@ extern FILE *lexfile;
#ifdef HASPROTOS
extern TOKEN nexttok( void );
extern void pushbacktok( void );
extern void ungettok( void );
extern BOOL readnextline( char * );
#else
extern TOKEN nexttok();
extern void pushbacktok();
extern void ungettok();
extern BOOL readnextline();
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment