diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-02-14 00:14:04 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-02-14 00:14:04 +0000 |
commit | 7fae4e64c5e2903183a8656ece6686238ddef215 (patch) | |
tree | fcfe3d9ba5c065b79e40d57f28c003565b6bedac /toke.c | |
parent | 837485b6cd4b757519a4ac6f03f3857c2fcf4844 (diff) | |
download | perl-7fae4e64c5e2903183a8656ece6686238ddef215.tar.gz |
[asperl] added AS patch#5 (patch #4 was intentionally skipped after
discussion)
p4raw-id: //depot/asperl@521
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -56,16 +56,6 @@ static void restore_lex_expect _((void *e)); static char ident_too_long[] = "Identifier too long"; -static char *linestart; /* beg. of most recently read line */ - -static char pending_ident; /* pending identifier lookup */ - -static struct { - I32 super_state; /* lexer state to save */ - I32 sub_inwhat; /* "lex_inwhat" to use */ - OP *sub_op; /* "lex_op" to use */ -} sublex_info; - /* The following are arranged oddly so that the guard on the switch statement * can get by with a single comparison (if the compiler is smart enough). */ @@ -320,16 +310,14 @@ restore_rsfp(void *f) } STATIC void -restore_expect(e) -void *e; +restore_expect(void *e) { /* a safe way to store a small integer in a pointer */ expect = (expectation)((char *)e - tokenbuf); } STATIC void -restore_lex_expect(e) -void *e; +restore_lex_expect(void *e) { /* a safe way to store a small integer in a pointer */ lex_expect = (expectation)((char *)e - tokenbuf); |