diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2004-04-27 20:26:05 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2004-04-27 20:26:05 -0400 |
commit | 2cd8e80bfe2792ce8999a26b34384598f58e3889 (patch) | |
tree | 780917a289058c7d05e893a8a1b3dc88d4a7030f /WWW/Library/Implementation/HTLex.c | |
parent | bff0a2c0390cf1536254ea168d2581cc9550325f (diff) | |
download | lynx-snapshots-2cd8e80bfe2792ce8999a26b34384598f58e3889.tar.gz |
snapshot of project "lynx", label v2-8-6dev_2
Diffstat (limited to 'WWW/Library/Implementation/HTLex.c')
-rw-r--r-- | WWW/Library/Implementation/HTLex.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/WWW/Library/Implementation/HTLex.c b/WWW/Library/Implementation/HTLex.c index 9d9412af..6297a1f7 100644 --- a/WWW/Library/Implementation/HTLex.c +++ b/WWW/Library/Implementation/HTLex.c @@ -22,26 +22,26 @@ /* ** Global variables */ -PUBLIC char HTlex_buffer[40]; /* Read lexical string */ -PUBLIC int HTlex_line = 1; /* Line number in source file */ +char HTlex_buffer[40]; /* Read lexical string */ +int HTlex_line = 1; /* Line number in source file */ /* ** Module-wide variables */ -PRIVATE int lex_cnt; -PRIVATE BOOL lex_template; -PRIVATE LexItem lex_pushed_back = LEX_NONE; -PRIVATE FILE *cache = NULL; +static int lex_cnt; +static BOOL lex_template; +static LexItem lex_pushed_back = LEX_NONE; +static FILE *cache = NULL; -PUBLIC void unlex ARGS1(LexItem, lex_item) +void unlex (LexItem lex_item) { lex_pushed_back = lex_item; } -PUBLIC LexItem lex ARGS1(FILE *, fp) +LexItem lex (FILE * fp) { int ch = 0; @@ -97,7 +97,7 @@ PUBLIC LexItem lex ARGS1(FILE *, fp) } -PUBLIC char *lex_verbose ARGS1(LexItem, lex_item) +char *lex_verbose (LexItem lex_item) { static char msg[100]; /* @@@@@@@@ */ |