summaryrefslogtreecommitdiff
path: root/NEWS
blob: 03431ce5e6b31c22b5d2464b458e84bf3772d159 (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
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

** Support for reentrant C scanners has been added.

** Developer test suite added.

** 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_r, yyleng_r, etc.

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

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

** 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.

** Updated the man page with the new reentrant API.

See the file ONEWS for changes in earlier releases.