diff options
Diffstat (limited to 'WWW/Library/Implementation/HTLex.h')
-rw-r--r-- | WWW/Library/Implementation/HTLex.h | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/WWW/Library/Implementation/HTLex.h b/WWW/Library/Implementation/HTLex.h index fd0f3c75..5914eba4 100644 --- a/WWW/Library/Implementation/HTLex.h +++ b/WWW/Library/Implementation/HTLex.h @@ -8,18 +8,18 @@ #ifndef HTUTILS_H #include <HTUtils.h> #endif - + typedef enum { - LEX_NONE, /* Internally used */ - LEX_EOF, /* End of file */ - LEX_REC_SEP, /* Record separator */ - LEX_FIELD_SEP, /* Field separator */ - LEX_ITEM_SEP, /* List item separator */ - LEX_OPEN_PAREN, /* Group start tag */ - LEX_CLOSE_PAREN, /* Group end tag */ - LEX_AT_SIGN, /* Address qualifier */ - LEX_ALPH_STR, /* Alphanumeric string */ - LEX_TMPL_STR /* Template string */ + LEX_NONE, /* Internally used */ + LEX_EOF, /* End of file */ + LEX_REC_SEP, /* Record separator */ + LEX_FIELD_SEP, /* Field separator */ + LEX_ITEM_SEP, /* List item separator */ + LEX_OPEN_PAREN, /* Group start tag */ + LEX_CLOSE_PAREN, /* Group end tag */ + LEX_AT_SIGN, /* Address qualifier */ + LEX_ALPH_STR, /* Alphanumeric string */ + LEX_TMPL_STR /* Template string */ } LexItem; extern char HTlex_buffer[]; /* Read lexical string */ @@ -33,21 +33,24 @@ Get Next Lexical Item */ -extern LexItem lex (FILE * fp); +extern LexItem lex(FILE *fp); + /* Push Back Latest Item */ -extern void unlex (LexItem lex_item); +extern void unlex(LexItem lex_item); + /* Get the Name for Lexical Item */ -extern char *lex_verbose (LexItem lex_item); +extern char *lex_verbose(LexItem lex_item); + /* */ |