Upgrade to version 2.4.6

This commit is contained in:
jtc 1994-01-06 23:58:11 +00:00
parent f11636394f
commit 5466e141b0
3 changed files with 18 additions and 7 deletions

View File

@ -1,4 +1,4 @@
// $Header: /cvsroot/src/usr.bin/lex/Attic/FlexLexer.h,v 1.4 1993/12/14 02:09:50 jtc Exp $
// $Header: /cvsroot/src/usr.bin/lex/Attic/FlexLexer.h,v 1.5 1994/01/06 23:58:11 jtc Exp $
// FlexLexer.h -- define classes for lexical analyzers generated by flex
@ -35,10 +35,10 @@
// If you want to create multiple lexer classes, you use the -P flag
// to rename each yyFlexLexer to some other xxFlexLexer.
extern "C++" {
#include <iostream.h>
extern "C++" {
struct yy_buffer_state;
typedef int yy_state_type;
@ -82,6 +82,9 @@ public:
yy_more_flag = 0;
yy_more_len = 0;
yy_start_stack_ptr = yy_start_stack_depth = 0;
yy_start_stack = 0;
yy_current_buffer = 0;
#ifdef YY_USES_REJECT
@ -114,6 +117,14 @@ protected:
void yy_load_buffer_state();
void yy_init_buffer( struct yy_buffer_state* b, istream* s );
int yy_start_stack_ptr;
int yy_start_stack_depth;
int* yy_start_stack;
void yy_push_state( int new_state );
void yy_pop_state();
int yy_top_state();
yy_state_type yy_get_previous_state();
yy_state_type yy_try_NUL_trans( yy_state_type current_state );
int yy_get_next_buffer();

View File

@ -1 +1 @@
2.4.5, available from ftp.ee.lbl.gov or prep.gnu.ai.mit.edu
Flex 2.4.6, available from ftp.ee.lbl.gov or prep.ai.mit.edu

View File

@ -26,7 +26,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
/* $Header: /cvsroot/src/usr.bin/lex/Attic/dfa.c,v 1.7 1993/12/14 02:09:53 jtc Exp $ */
/* $Header: /cvsroot/src/usr.bin/lex/Attic/dfa.c,v 1.8 1994/01/06 23:58:15 jtc Exp $ */
#include "flexdef.h"
@ -766,8 +766,8 @@ void ntod()
mkdeftbl();
}
yy_flex_free( (void *) accset );
yy_flex_free( (void *) nset );
flex_free( (void *) accset );
flex_free( (void *) nset );
}