]> granicus.if.org Git - flex/log
flex
31 years agoAdded start condition to EOF trace output
Vern Paxson [Tue, 21 Sep 1993 20:45:18 +0000 (20:45 +0000)]
Added start condition to EOF trace output

31 years agoAdded YY_START
Vern Paxson [Tue, 21 Sep 1993 20:44:55 +0000 (20:44 +0000)]
Added YY_START
changed yyFlexLexer to define yylex()

31 years agoMinor portability tweaks
Vern Paxson [Tue, 21 Sep 1993 20:44:17 +0000 (20:44 +0000)]
Minor portability tweaks

31 years agoSplit into two classes, one fully abstract.
Vern Paxson [Tue, 21 Sep 1993 20:43:49 +0000 (20:43 +0000)]
Split into two classes, one fully abstract.
yylex() no longer abstract in yyFlexLexer

31 years agoPC lint tweak
Vern Paxson [Tue, 21 Sep 1993 20:42:48 +0000 (20:42 +0000)]
PC lint tweak

31 years agoYYSTYPE #define'd to int
Vern Paxson [Tue, 21 Sep 1993 20:42:18 +0000 (20:42 +0000)]
YYSTYPE #define'd to int

31 years agominor lint tweak
Vern Paxson [Tue, 21 Sep 1993 20:42:09 +0000 (20:42 +0000)]
minor lint tweak

31 years agoInitial revision
Vern Paxson [Thu, 16 Sep 1993 20:53:46 +0000 (20:53 +0000)]
Initial revision

31 years agoDelete prototypes for Unix system calls.
Vern Paxson [Thu, 16 Sep 1993 20:38:58 +0000 (20:38 +0000)]
Delete prototypes for Unix system calls.

31 years agonuked static RCS string
Vern Paxson [Thu, 16 Sep 1993 20:31:48 +0000 (20:31 +0000)]
nuked static RCS string

31 years ago%array not allowed with C++ scanners
Vern Paxson [Thu, 16 Sep 1993 20:28:08 +0000 (20:28 +0000)]
%array not allowed with C++ scanners

31 years agoFixed bugs regarding %{%} code in section 2 prolog
Vern Paxson [Thu, 16 Sep 1993 20:27:27 +0000 (20:27 +0000)]
Fixed bugs regarding %{%} code in section 2 prolog
%array not allowed with C++ scanners

31 years agoAdded C_plus_plus flag.
Vern Paxson [Wed, 25 Aug 1993 17:11:42 +0000 (17:11 +0000)]
Added C_plus_plus flag.

31 years agoFirst version of C/C++ skeleton
Vern Paxson [Wed, 25 Aug 1993 17:11:24 +0000 (17:11 +0000)]
First version of C/C++ skeleton

31 years agoyy_state_type declared earlier.
Vern Paxson [Wed, 25 Aug 1993 17:10:57 +0000 (17:10 +0000)]
yy_state_type declared earlier.
Made a bunch of statics only output if not -+

31 years agoAdded -+ option, updated usage() output, rearranged some generated
Vern Paxson [Wed, 25 Aug 1993 16:59:54 +0000 (16:59 +0000)]
Added -+ option, updated usage() output, rearranged some generated
 code to come at the right point in the output for yyflexlexer.h.

31 years agoAdded %+/%-/%* to skelout()
Vern Paxson [Wed, 25 Aug 1993 16:52:05 +0000 (16:52 +0000)]
Added %+/%-/%* to skelout()

31 years agoEOF in section 2 prolog leads to section 0, not section 3
Vern Paxson [Wed, 25 Aug 1993 16:51:45 +0000 (16:51 +0000)]
EOF in section 2 prolog leads to section 0, not section 3

31 years agoDump promotion of EOF in section 2 to turn on section 3; instead
Vern Paxson [Wed, 25 Aug 1993 16:40:25 +0000 (16:40 +0000)]
Dump promotion of EOF in section 2 to turn on section 3; instead
 just treat it like a final EOF

31 years agoyy_nxt table should be "const"
Vern Paxson [Wed, 25 Aug 1993 16:40:03 +0000 (16:40 +0000)]
yy_nxt table should be "const"

31 years agoRemoved a lot of #ifdef chud
Vern Paxson [Tue, 24 Aug 1993 20:46:03 +0000 (20:46 +0000)]
Removed a lot of #ifdef chud
"backtracking" -> "backing up"

31 years ago"backtracking" -> "backing up"
Vern Paxson [Tue, 24 Aug 1993 20:45:35 +0000 (20:45 +0000)]
"backtracking" -> "backing up"
got rid of time reports

31 years ago"backtracking" -> "backing up"
Vern Paxson [Tue, 24 Aug 1993 20:44:11 +0000 (20:44 +0000)]
"backtracking" -> "backing up"
some portability tweaks
fixed to only call flexscan() when done if known to be in section 3

31 years agoisascii() moved to flexdef.h
Vern Paxson [Tue, 24 Aug 1993 20:43:23 +0000 (20:43 +0000)]
isascii() moved to flexdef.h
nuked flex_gettime()

31 years agoFixed bug with empty section 2
Vern Paxson [Tue, 24 Aug 1993 20:43:03 +0000 (20:43 +0000)]
Fixed bug with empty section 2

31 years agoChucked definition of isascii()
Vern Paxson [Tue, 24 Aug 1993 20:42:31 +0000 (20:42 +0000)]
Chucked definition of isascii()

31 years agopreserve yytext on input()
Vern Paxson [Tue, 24 Aug 1993 20:40:56 +0000 (20:40 +0000)]
preserve yytext on input()
bug fix when combining yyless() with yymore()
checkpoint prior to C++ option

31 years ago"backtracking" -> "backing up"
Vern Paxson [Tue, 24 Aug 1993 20:37:11 +0000 (20:37 +0000)]
"backtracking" -> "backing up"

31 years agoFixed to not generate extra EOF's after reading one.
Vern Paxson [Fri, 9 Jul 1993 19:47:11 +0000 (19:47 +0000)]
Fixed to not generate extra EOF's after reading one.

31 years agoSpit out definition of YY_CHAR early
Vern Paxson [Mon, 5 Jul 1993 21:52:29 +0000 (21:52 +0000)]
Spit out definition of YY_CHAR early

31 years agoSome rearranging to make sure things get declared in the right order
Vern Paxson [Mon, 5 Jul 1993 21:52:12 +0000 (21:52 +0000)]
Some rearranging to make sure things get declared in the right order

31 years agoSome comment fixes as per Wilhelms
Vern Paxson [Mon, 5 Jul 1993 21:37:27 +0000 (21:37 +0000)]
Some comment fixes as per Wilhelms

31 years agoNuked #undef of yywrap, now that it's a function
Vern Paxson [Mon, 5 Jul 1993 21:37:06 +0000 (21:37 +0000)]
Nuked #undef of yywrap, now that it's a function

31 years agoFixed bug with Z-a character classes as per Wilhelms
Vern Paxson [Mon, 5 Jul 1993 21:36:47 +0000 (21:36 +0000)]
Fixed bug with Z-a character classes as per Wilhelms

31 years agoadded check_char call in mkstate() to prevent bad xtion chars
Vern Paxson [Mon, 5 Jul 1993 21:36:26 +0000 (21:36 +0000)]
added check_char call in mkstate() to prevent bad xtion chars

31 years agoFixed some reallocation bugs, etc. as per Wilhelms
Vern Paxson [Mon, 5 Jul 1993 21:35:35 +0000 (21:35 +0000)]
Fixed some reallocation bugs, etc. as per Wilhelms

31 years agoAdded check_char(), readable_form()
Vern Paxson [Mon, 5 Jul 1993 21:34:56 +0000 (21:34 +0000)]
Added check_char(), readable_form()

31 years agoAdded #ifndef's around #define's to let user override
Vern Paxson [Mon, 5 Jul 1993 21:34:29 +0000 (21:34 +0000)]
Added #ifndef's around #define's to let user override
Moved a bunch of definitions prior to section 1

31 years agoWilhems bug fixes.
Vern Paxson [Mon, 5 Jul 1993 21:32:22 +0000 (21:32 +0000)]
Wilhems bug fixes.

31 years agoAdded check_char()
Vern Paxson [Mon, 5 Jul 1993 21:31:46 +0000 (21:31 +0000)]
Added check_char()

31 years agoChanged to use yy_flex_alloc() and friends
Vern Paxson [Sat, 12 Jun 1993 13:44:08 +0000 (13:44 +0000)]
Changed to use yy_flex_alloc() and friends

31 years agoAdded -P flag
Vern Paxson [Sat, 12 Jun 1993 13:43:31 +0000 (13:43 +0000)]
Added -P flag

31 years agoFixed bug in lex % directives
Vern Paxson [Sat, 12 Jun 1993 13:42:49 +0000 (13:42 +0000)]
Fixed bug in lex % directives

31 years agoModified to use yy_flex_alloc() and friends
Vern Paxson [Sat, 12 Jun 1993 13:42:32 +0000 (13:42 +0000)]
Modified to use yy_flex_alloc() and friends

31 years agoModified to use yy_flex_alloc()
Vern Paxson [Sat, 12 Jun 1993 13:42:18 +0000 (13:42 +0000)]
Modified to use yy_flex_alloc()

31 years agoModified to use yy_flex_alloc() and friends
Vern Paxson [Sat, 12 Jun 1993 13:41:52 +0000 (13:41 +0000)]
Modified to use yy_flex_alloc() and friends
Moved some globals earlier in the file to permit access in section 1

31 years agoGot rid of code needed for %t
Vern Paxson [Sat, 12 Jun 1993 13:40:15 +0000 (13:40 +0000)]
Got rid of code needed for %t

31 years agoReformatting.
Vern Paxson [Wed, 14 Apr 1993 22:41:35 +0000 (22:41 +0000)]
Reformatting.

31 years agoFixed bug in description of backtracking
Vern Paxson [Mon, 5 Apr 1993 20:38:09 +0000 (20:38 +0000)]
Fixed bug in description of backtracking

31 years ago2.3.8
Vern Paxson [Mon, 5 Apr 1993 20:37:50 +0000 (20:37 +0000)]
2.3.8

31 years ago%array support
Vern Paxson [Mon, 5 Apr 1993 20:37:04 +0000 (20:37 +0000)]
%array support

31 years agoAdded non-STDC clause for '\a'
Vern Paxson [Mon, 5 Apr 1993 20:36:29 +0000 (20:36 +0000)]
Added non-STDC clause for '\a'

31 years agoFixed subtle problems regarding '*'s in comments
Vern Paxson [Mon, 5 Apr 1993 20:35:51 +0000 (20:35 +0000)]
Fixed subtle problems regarding '*'s in comments
%pointer/%array match entire lines

31 years agoAdded %array support
Vern Paxson [Mon, 5 Apr 1993 20:35:08 +0000 (20:35 +0000)]
Added %array support

31 years agoFinally updated email addr
Vern Paxson [Sat, 6 Feb 1993 21:08:38 +0000 (21:08 +0000)]
Finally updated email addr

31 years agoMostly .LP -> .PP
Vern Paxson [Sat, 6 Feb 1993 21:08:06 +0000 (21:08 +0000)]
Mostly .LP -> .PP

31 years ago*** empty log message ***
Vern Paxson [Sat, 6 Feb 1993 21:06:57 +0000 (21:06 +0000)]
*** empty log message ***

31 years agoA lot of tweaks ...
Vern Paxson [Sat, 6 Feb 1993 21:05:41 +0000 (21:05 +0000)]
A lot of tweaks ...

31 years agoreallocate_character_array -> reallocate_Character_array
Vern Paxson [Sat, 6 Feb 1993 21:04:56 +0000 (21:04 +0000)]
reallocate_character_array -> reallocate_Character_array

31 years agoBug/lint fixes
Vern Paxson [Sat, 6 Feb 1993 21:04:29 +0000 (21:04 +0000)]
Bug/lint fixes
Modified to work with "action" array instead of temp file

31 years agoFixed bug in 8-bit hashing
Vern Paxson [Sat, 6 Feb 1993 21:03:57 +0000 (21:03 +0000)]
Fixed bug in 8-bit hashing

31 years agonumerous bug fixes
Vern Paxson [Sat, 6 Feb 1993 21:03:13 +0000 (21:03 +0000)]
numerous bug fixes
extra formatting of error/warning messages
added support of <*>, partial support for nested start conditions

31 years agoRemove %t cruft
Vern Paxson [Sat, 6 Feb 1993 21:01:45 +0000 (21:01 +0000)]
Remove %t cruft

31 years agoBeginning of %pointer/%array support
Vern Paxson [Sat, 6 Feb 1993 21:01:26 +0000 (21:01 +0000)]
Beginning of %pointer/%array support

31 years agoAdded keeping track of which rules are useful
Vern Paxson [Sat, 6 Feb 1993 21:00:25 +0000 (21:00 +0000)]
Added keeping track of which rules are useful
fixed a fencepost error in checking for scanners that require -8

31 years agoAdded checking for whether rules are useful
Vern Paxson [Sat, 6 Feb 1993 20:59:39 +0000 (20:59 +0000)]
Added checking for whether rules are useful
modified to work with internal "action" array

31 years agoAdded internal "action" array, internal skeleton, zero_out() in lieu of bzero
Vern Paxson [Sat, 6 Feb 1993 20:58:57 +0000 (20:58 +0000)]
Added internal "action" array, internal skeleton, zero_out() in lieu of bzero

31 years agoFixed a bunch of fencepost errors in increasing tables.
Vern Paxson [Sat, 6 Feb 1993 20:58:12 +0000 (20:58 +0000)]
Fixed a bunch of fencepost errors in increasing tables.

31 years ago-Wall fix
Vern Paxson [Sat, 6 Feb 1993 20:57:33 +0000 (20:57 +0000)]
-Wall fix

33 years agoFixed out-of-bounds access bug; patch #7 for release 2.3
Vern Paxson [Thu, 28 Mar 1991 12:01:38 +0000 (12:01 +0000)]
Fixed out-of-bounds access bug; patch #7 for release 2.3

33 years agoPatch #7 for 2.3
Vern Paxson [Thu, 28 Mar 1991 12:00:45 +0000 (12:00 +0000)]
Patch #7 for 2.3

34 years agofixed missing "rule_type" entry for end-of-buffer action
Vern Paxson [Tue, 23 Oct 1990 14:51:01 +0000 (14:51 +0000)]
fixed missing "rule_type" entry for end-of-buffer action

34 years agoFixed yymore() but in not resetting yy_more_len
Vern Paxson [Wed, 29 Aug 1990 12:11:13 +0000 (12:11 +0000)]
Fixed yymore() but in not resetting yy_more_len

34 years agoPatch #6 for 2.3
Vern Paxson [Wed, 29 Aug 1990 12:10:58 +0000 (12:10 +0000)]
Patch #6 for 2.3

34 years agoPatch #5
Vern Paxson [Thu, 16 Aug 1990 20:22:03 +0000 (20:22 +0000)]
Patch #5

34 years agofixed comment in myesc()
Vern Paxson [Tue, 14 Aug 1990 00:10:24 +0000 (00:10 +0000)]
fixed comment in myesc()

34 years agofixed date in patch #4
Vern Paxson [Tue, 14 Aug 1990 00:07:55 +0000 (00:07 +0000)]
fixed date in patch #4

34 years agopatch #4
Vern Paxson [Tue, 14 Aug 1990 00:05:51 +0000 (00:05 +0000)]
patch #4

34 years agofixed hexadecimal escapes; added is_hex_digit()
Vern Paxson [Tue, 14 Aug 1990 00:01:35 +0000 (00:01 +0000)]
fixed hexadecimal escapes; added is_hex_digit()

34 years agoPatch #3
Vern Paxson [Fri, 3 Aug 1990 14:12:11 +0000 (14:12 +0000)]
Patch #3

34 years agochanged to include <stddef.h> for __GNUC__
Vern Paxson [Fri, 3 Aug 1990 14:09:36 +0000 (14:09 +0000)]
changed to include <stddef.h> for __GNUC__

34 years ago2.3 patch #2
Vern Paxson [Thu, 2 Aug 1990 01:03:42 +0000 (01:03 +0000)]
2.3 patch #2

34 years agoAnother try at getting the malloc() definitions correct;
Vern Paxson [Thu, 2 Aug 1990 01:01:07 +0000 (01:01 +0000)]
Another try at getting the malloc() definitions correct;
this time for g++, too

34 years agofixed to declare malloc() and free() by hand if __GNUC__
Vern Paxson [Thu, 2 Aug 1990 00:30:43 +0000 (00:30 +0000)]
fixed to declare malloc() and free() by hand if __GNUC__

34 years agoChanged to get malloc definition in identical fashion to that
Vern Paxson [Sat, 28 Jul 1990 16:53:13 +0000 (16:53 +0000)]
Changed to get malloc definition in identical fashion to that
used by flex.skel

34 years ago*** empty log message ***
Vern Paxson [Thu, 28 Jun 1990 00:43:00 +0000 (00:43 +0000)]
*** empty log message ***

34 years agoFixed bug in mini-scanner examle
Vern Paxson [Thu, 28 Jun 1990 00:40:34 +0000 (00:40 +0000)]
Fixed bug in mini-scanner examle
Fixed bug in YY_INPUT redefinition
yylineno defense
reentrancy documentation
Something else which I forget.

34 years ago4.4 BSD copyright
Vern Paxson [Wed, 27 Jun 1990 23:47:53 +0000 (23:47 +0000)]
4.4 BSD copyright

34 years agoChanged prolog to reflect 2.3 release.
Vern Paxson [Sat, 26 May 1990 17:31:27 +0000 (17:31 +0000)]
Changed prolog to reflect 2.3 release.

34 years agopointed reader at Makefile instead of README for porting considerations
Vern Paxson [Sat, 26 May 1990 17:29:53 +0000 (17:29 +0000)]
pointed reader at Makefile instead of README for porting considerations
added Makefile comments: support for SCO Unix; parameterization

34 years agoAdded DONT_HAVE_STDLIB_H and declarations of malloc()
Vern Paxson [Sat, 26 May 1990 17:24:13 +0000 (17:24 +0000)]
Added DONT_HAVE_STDLIB_H and declarations of malloc()

34 years ago2.3 changes
Vern Paxson [Sat, 26 May 1990 17:16:56 +0000 (17:16 +0000)]
2.3 changes

34 years agodocumentation on new features
Vern Paxson [Sat, 26 May 1990 17:02:23 +0000 (17:02 +0000)]
documentation on new features
Comment regarding Ove's work
^foo|bar difference between flex / lex
yyin initialization difference
documented that yy_switch_to_buffer can be used in yywrap()
documented that # comments are deprecated

34 years agodeclared void functions as such
Vern Paxson [Sat, 26 May 1990 16:56:04 +0000 (16:56 +0000)]
declared void functions as such
added prototypes for forward references
changed to check for error status when closing files

34 years agoAdded macro definition for isascii() if not already present
Vern Paxson [Sat, 26 May 1990 16:54:45 +0000 (16:54 +0000)]
Added macro definition for isascii() if not already present

34 years agodeclared void functions as such
Vern Paxson [Sat, 26 May 1990 16:53:57 +0000 (16:53 +0000)]
declared void functions as such
added prototypes for forward references
changed to use format_pinpoint_message where appropriate

34 years agodeclared void functions as such
Vern Paxson [Sat, 26 May 1990 16:53:23 +0000 (16:53 +0000)]
declared void functions as such
changed to strip # comments, as documented
moved #undef of yywrap() to before include of flexdef, so prototype
    doesn't get screwed up

34 years agointroduced format_pinpoint_message()
Vern Paxson [Sat, 26 May 1990 16:52:28 +0000 (16:52 +0000)]
introduced format_pinpoint_message()
declared void functions as such
changed lone <<EOF>> to apply to all outstanding start conditions

34 years agodeclared void functions as such
Vern Paxson [Sat, 26 May 1990 16:51:47 +0000 (16:51 +0000)]
declared void functions as such
added prototypes for forward references

34 years agodeclared void functions as such
Vern Paxson [Sat, 26 May 1990 16:50:57 +0000 (16:50 +0000)]
declared void functions as such
prototypes for forward references
shuffled around some routines to make the order perhaps a little more logical
changed memory references to use void* instead of char*