summaryrefslogtreecommitdiff
path: root/NEWS
blob: bf12e9531f86dcc33ff85e3d975de0680c97e36d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
This is the file NEWS for the flex package. It records user -visible
changes between releases of flex.

See the file COPYING for copying conditions.

* version 2.5.6

** command-line option parsing happens differently now:

*** Added long option parsing

*** Options -n and -c, previously deprecated, now simply do nothing

*** Options are now parsed left to right

** added a number of new options

*** All positive %options are now accessible from the command line

*** Added option -D, to define a preprocessor symbol.

*** Added option --header=FILE to specify a C .h file to generate.

*** added option --yywrap to call yywrap on EOF

*** added option --yylineno to track line count in yylineno

*** --yyclass=NAME name of C++ class when generating c++ scanners

*** for long option names which are associated with existing short
options, see accompanying documentation

** Support for reentrant C scanners has been added.

*** Updated the manual with the new reentrant API.

*** Two new options %option reentrant (-R) and 
%option reentrant-bison (-Rb).

*** All globals optionally placed into struct yyglobals_t.

*** All access to globals replaced by macro invocations.

*** All functions optionally take one additional
argument, yy_globals.

*** New style for invoking reentrant scanner:
yylex_init(void** scanner );
yylex( scanner );
yylex_destroy( scanner );

*** Added get/set functions for members of struct yy_globals_t.
e.g.,  yyget_text, yyget_leng, etc.

*** Prefix substitution added for new functions.

*** Macro shortcuts to the lengthy get/set functions
provided for use in actions. e.g.,  yytext, yyleng, etc.

*** Arbitrary, user-defined data, "yyextra", may be added to scanner.

** %option nomain no longer implies %option yywrap.
But the inverse is still true.

** Developer test suite added.

*** TESTS/ directory has been added. Users can 
'make check' in the TESTS directory to execute the test suite.

** Support for bison variables yylval and yylloc added.

** automake support for the build process

** manual is now in texinfo/info format

*** flex.1 removed from distribution

** flex no longer generates C-language scanners with C++-style
   comments

** flex now generates scanners in c++ which are compatible with
   recent c++ compilers

** flex input scanner now recognizes '\r' as an EOL character

See the file ONEWS for changes in earlier releases.

Local Variables:
mode: text
mode: outline-minor
end: