From: Vern Paxson Date: Fri, 25 Nov 1988 21:28:36 +0000 (+0000) Subject: Added END_OF_BUFFER_ACTION and bol_needed X-Git-Tag: flex-2-5-5b~624 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64f79934309a057589406ecbd3229b5287007e64;p=flex Added END_OF_BUFFER_ACTION and bol_needed --- diff --git a/flexdef.h b/flexdef.h index 7df8148..58c3012 100644 --- a/flexdef.h +++ b/flexdef.h @@ -39,11 +39,10 @@ char *memset(); #ifndef SV #include -#endif - #ifdef lint char *sprintf(); /* keep lint happy */ #endif +#endif /* maximum line length we'll have to deal with */ @@ -72,11 +71,6 @@ char *sprintf(); /* keep lint happy */ #define FAST_SKELETON_FILE "flex.fastskel" #endif -/* special internal nxt[] action number for the "at the end of the - * input buffer" state - */ -#define END_OF_BUFFER_ACTION 0 - /* special chk[] values marking the slots taking by end-of-buffer and action * numbers */ @@ -478,12 +472,13 @@ extern char *ccltbl; * numdup - number of duplicate transitions * hshsave - number of hash collisions saved by checking number of states * num_backtracking - number of DFA states requiring back-tracking + * bol_needed - whether scanner needs beginning-of-line recognition */ extern char *starttime, *endtime, nmstr[MAXLINE]; extern int sectnum, nummt, hshcol, dfaeql, numeps, eps2, num_reallocs; extern int tmpuses, totnst, peakpairs, numuniq, numdup, hshsave; -extern int num_backtracking; +extern int num_backtracking, bol_needed; char *allocate_array(), *reallocate_array();