xref: /minix3/external/bsd/flex/dist/NEWS (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1357f1050SThomas VeermanThis is the file NEWS for the flex package. It records user -visible
2357f1050SThomas Veermanchanges between releases of flex.
3357f1050SThomas Veerman
4357f1050SThomas VeermanSee the file COPYING for copying conditions.
5357f1050SThomas Veerman
6*0a6a1f1dSLionel Sambuc* flex version  2.5.39
7*0a6a1f1dSLionel Sambuc
8*0a6a1f1dSLionel Sambuc** no user visible changes in this release
9*0a6a1f1dSLionel Sambuc
10*0a6a1f1dSLionel Sambuc* version 2.5.38 released 2014-02-14
11*0a6a1f1dSLionel Sambuc
12*0a6a1f1dSLionel Sambuc** internationalization
13*0a6a1f1dSLionel Sambuc
14*0a6a1f1dSLionel Sambuc*** add sr translation from the translation project
15*0a6a1f1dSLionel Sambuc
16*0a6a1f1dSLionel Sambuc*** update da, es, ko, nl, pt_BR, ro, ru, sv, tr, vi, zh_CN translations from the translation project
17*0a6a1f1dSLionel Sambuc
18*0a6a1f1dSLionel Sambuc*** rename zh_tw to its proper zh_TW name
19*0a6a1f1dSLionel Sambuc
2084d9c625SLionel Sambuc* version 2.5.37 released 2012-08-03
2184d9c625SLionel Sambuc
2284d9c625SLionel Sambuc** Import flex into git. See
2384d9c625SLionel Sambuc   git://flex.git.sourceforge.net/gitroot/flex/flex.
2484d9c625SLionel Sambuc
2584d9c625SLionel Sambuc** Fix make install target to not fail when the flex++ program is
2684d9c625SLionel Sambuc   already installed
2784d9c625SLionel Sambuc
2884d9c625SLionel Sambuc** New translations from the translation project: de, fi, pl, vi
2984d9c625SLionel Sambuc
3084d9c625SLionel Sambuc* version 2.5.36 released 2012-07-20
3184d9c625SLionel Sambuc
3284d9c625SLionel Sambuc** various portability fixes that quiet compiler warnings on 64-bit
3384d9c625SLionel Sambuc   hosts
3484d9c625SLionel Sambuc
3584d9c625SLionel Sambuc** various manual fixes, including correcting the name of a %option and
3684d9c625SLionel Sambuc   updating some simple examples to use ANSI C syntax
3784d9c625SLionel Sambuc
3884d9c625SLionel Sambuc** various bug fixes that prevent certain error conditions from
3984d9c625SLionel Sambuc   persisting when they should not persist
4084d9c625SLionel Sambuc
4184d9c625SLionel Sambuc** improvements to the test suite so it behaves better when linking
4284d9c625SLionel Sambuc   compiled files
4384d9c625SLionel Sambuc
4484d9c625SLionel Sambuc** new translations from the translation project: ca, da, es, fi, fr,
4584d9c625SLionel Sambuc   ga, ko, pt_br, ro, ru, sv, tr, zh_cn
4684d9c625SLionel Sambuc
4784d9c625SLionel Sambuc** the flex distribution is now built with automake 1.10.1 and automake
4884d9c625SLionel Sambuc   2.61
4984d9c625SLionel Sambuc
50357f1050SThomas Veerman* version 2.5.35 released 2008-02-26
51357f1050SThomas Veerman
52357f1050SThomas Veerman** fixed bug that prevented flex from accepting certain comments in the
53357f1050SThomas Veerman  scanner file (resolves bugs #1849809 and #1849805)
54357f1050SThomas Veerman
55357f1050SThomas Veerman** fix bug that prevented headers for all functions from being generated
56357f1050SThomas Veerman  (resolves bug #1628314)
57357f1050SThomas Veerman
58357f1050SThomas Veerman** change yy_size_t to be size_t (resolves bug #1849812)
59357f1050SThomas Veerman
60357f1050SThomas Veerman** new de, nl, pl, pt_br, vi translations from the translation project
61357f1050SThomas Veerman
62357f1050SThomas Veerman* version 2.5.34 released 2007-12-12
63357f1050SThomas Veerman
64357f1050SThomas Veerman** introduce yylex_init_extra; see the manual for details
65357f1050SThomas Veerman
66357f1050SThomas Veerman** introduce %option extra-type="your_type *" (resolves bug #1744505)
67357f1050SThomas Veerman
68357f1050SThomas Veerman** The flex program now parses multiple short concatenated options (resolves bug
69357f1050SThomas Veerman  #1619820). Thanks to Petr Machata of Red Hat on this issue.
70357f1050SThomas Veerman
71357f1050SThomas Veerman** better checking after yyalloc/yyrealloc (resolves bug #1595967)
72357f1050SThomas Veerman
73357f1050SThomas Veerman** flex now provides for a libfl_pic.a compiled with position
74357f1050SThomas Veerman   independent code. Particularly useful when including a flex scanner
75357f1050SThomas Veerman   in a shared library and with more recent versions of gcc. Thanks to the Debian project for the idea.
76357f1050SThomas Veerman
77357f1050SThomas Veerman** SourceForge feature request #1658379: Expose YY_BUF_SIZE in the
78357f1050SThomas Veerman	header file.
79357f1050SThomas Veerman
80357f1050SThomas Veerman** flex better escapes filenames with special characters in them
81357f1050SThomas Veerman   (resolves bug #1623600)
82357f1050SThomas Veerman
83357f1050SThomas Veerman** a memory leak was plugged(resolves bug #1601111)
84357f1050SThomas Veerman
85357f1050SThomas Veerman** pattern language expanded; see the manual for details on the below
86357f1050SThomas Veerman   highlights
87357f1050SThomas Veerman
88357f1050SThomas Veerman*** pattern options added to specify patterns as case-insensitive or
89357f1050SThomas Veerman    case-sensitive
90357f1050SThomas Veerman
91357f1050SThomas Veerman*** pattern options to specify whether the "." character should match
92357f1050SThomas Veerman    the newline character
93357f1050SThomas Veerman
94357f1050SThomas Veerman*** pattern options added to allow ignoring of whitespace in patterns
95357f1050SThomas Veerman
96357f1050SThomas Veerman*** POSIX character classes may be negated in patterns
97357f1050SThomas Veerman
98357f1050SThomas Veerman*** patterns may now use set difference, union operators
99357f1050SThomas Veerman
100357f1050SThomas Veerman** the manual now contains an appendix listing various common patterns
101357f1050SThomas Veerman   which may be useful when writing scanners
102357f1050SThomas Veerman
103357f1050SThomas Veerman** some memory leaks were removed from the C++ scanner (but the C++
104357f1050SThomas Veerman  scanner is still experimental and may change radically without
105357f1050SThomas Veerman  notice)
106357f1050SThomas Veerman
107357f1050SThomas Veerman** c++ scanners can now use yywrap
108357f1050SThomas Veerman
109357f1050SThomas Veerman** added new unit test for c++ and yywrap
110357f1050SThomas Veerman
111357f1050SThomas Veerman** portability fixes to some unit tests
112357f1050SThomas Veerman
113357f1050SThomas Veerman** flex man page and flex manual in pdf now distributed in the flex
114357f1050SThomas Veermandistribution
115357f1050SThomas Veerman
116357f1050SThomas Veerman** new ca, vi, ga, nl translations from the translation project
117357f1050SThomas Veerman
118357f1050SThomas Veerman** flex no longer comes with an rpm spec file
119357f1050SThomas Veerman
120357f1050SThomas Veerman** flex development now happens with automake 1.9.6
121357f1050SThomas Veerman
122357f1050SThomas Veerman* version 2.5.33 released 2006-2-20
123357f1050SThomas Veerman
124357f1050SThomas Veerman** all flex resources are now to be found from the website at
125357f1050SThomas Veerman   http://flex.sourceforge.net/
126357f1050SThomas Veerman
127357f1050SThomas Veerman** there was no release 2.5.32 published
128357f1050SThomas Veerman
129357f1050SThomas Veerman** numerous bug and security fixes
130357f1050SThomas Veerman
131357f1050SThomas Veerman** new nl, vi, sv, ro, po, ga, ca, fr, tr translations from the translation project
132357f1050SThomas Veerman
133357f1050SThomas Veerman** upgrade to use gettext 0.12 (this now makes the "pdf" and "ps"
134357f1050SThomas Veerman   targets in the build system able to be run successfully)
135357f1050SThomas Veerman
136357f1050SThomas Veerman* version 2.5.31 released 2003-4-1
137357f1050SThomas Veerman
138357f1050SThomas Veerman** remove --enable-maintainer-mode configure option; none of the
139357f1050SThomas Veerman   Makefiles were using it and it can be unduely confusing
140357f1050SThomas Veerman
141357f1050SThomas Veerman* version 2.5.30 released 2003-4-1
142357f1050SThomas Veerman
143357f1050SThomas Veerman** yylineno is per-buffer in reentrant scanners
144357f1050SThomas Veerman
145357f1050SThomas Veerman** added %top directive for placing code at the top of the generated
146357f1050SThomas Veerman   scanner; see manual for details
147357f1050SThomas Veerman
148357f1050SThomas Veerman** flex now uses m4 to generate scanners; while this means that
149357f1050SThomas Veerman   scanners are more readable, it means that flex requires m4 to be
150357f1050SThomas Veerman   installed; see manual for details
151357f1050SThomas Veerman
152357f1050SThomas Veerman* version 2.5.29 released 2003-3-5
153357f1050SThomas Veerman
154357f1050SThomas Veerman** Automatic stack management for multiple input buffers in C and C++ scanners
155357f1050SThomas Veerman
156357f1050SThomas Veerman** moved the flex documentation to a new doc/ subdirectory
157357f1050SThomas Veerman
158357f1050SThomas Veerman** cleanups to the yy namespace
159357f1050SThomas Veerman
160357f1050SThomas Veerman* version 2.5.28 released 2003-2-12
161357f1050SThomas Veerman
162357f1050SThomas Veerman** flex is now hosted at sourceforge
163357f1050SThomas Veerman
164357f1050SThomas Veerman** Fixed trailing slash bug in YY_INPUT macro def
165357f1050SThomas Veerman
166357f1050SThomas Veerman** Flex now warns if always-interactive is specified with fast or full
167357f1050SThomas Veerman
168357f1050SThomas Veerman* version 2.5.27 released 2003-1-21
169357f1050SThomas Veerman
170357f1050SThomas Veerman** flex now works with recent bison versions
171357f1050SThomas Veerman
172357f1050SThomas Veerman** new pt_br translation from the translation project
173357f1050SThomas Veerman
174357f1050SThomas Veerman* version 2.5.26 released 2003-1-14
175357f1050SThomas Veerman
176357f1050SThomas Veerman** Fixed table deserialization bug on big-endian archs. Patch sent from Bryce Nichols <bryce@bnichols.org>
177357f1050SThomas Veerman
178357f1050SThomas Veerman** yyleng has proper declarations now; this caused flex to generate
179357f1050SThomas Veerman   unusable scanners for some programs
180357f1050SThomas Veerman
181357f1050SThomas Veerman** the flex distribution now includes a spec file suitable for use
182357f1050SThomas Veerman   with rpm
183357f1050SThomas Veerman
184357f1050SThomas Veerman** some more c++ fixes
185357f1050SThomas Veerman
186357f1050SThomas Veerman** new es translation from the translation project
187357f1050SThomas Veerman
188357f1050SThomas Veerman** slight tweeks to the flex_int*_t types
189357f1050SThomas Veerman
190357f1050SThomas Veerman** flex now warns about pattern ranges that might be ambiguous when
191357f1050SThomas Veerman   generating a case-insensitive scanner
192357f1050SThomas Veerman
193357f1050SThomas Veerman
194357f1050SThomas Veerman* version 2.5.25 released 2002-12-2
195357f1050SThomas Veerman
196357f1050SThomas Veerman** flex now uses flex_int*_t types. For C99 systems, they are just the
197357f1050SThomas Veerman   int*_t types; for non-C99 systems, we just make some typedefs
198357f1050SThomas Veerman
199357f1050SThomas Veerman** new pt_br translation from the translation project
200357f1050SThomas Veerman
201357f1050SThomas Veerman* version 2.5.24 released 2002-11-25
202357f1050SThomas Veerman
203357f1050SThomas Veerman* more portability fixes
204357f1050SThomas Veerman
205357f1050SThomas Veerman** the manual continues to be updated and edited, but it's still got a
206357f1050SThomas Veerman   ways to go
207357f1050SThomas Veerman
208357f1050SThomas Veerman** it is possible to have multiple c++ scanners in the same program again
209357f1050SThomas Veerman
210357f1050SThomas Veerman** new turkish translation from the translation project
211357f1050SThomas Veerman
212357f1050SThomas Veerman* version 2.5.23 released 2002-10-21
213357f1050SThomas Veerman
214357f1050SThomas Veerman** more portability fixes
215357f1050SThomas Veerman
216357f1050SThomas Veerman** the manual includes a title page and a table-of-contents when printed
217357f1050SThomas Veerman
218357f1050SThomas Veerman** the test suite can be run with "make check" from the top-level
219357f1050SThomas Veerman   directory
220357f1050SThomas Veerman
221357f1050SThomas Veerman** configure now accepts the --enable-maintainer-mode option
222357f1050SThomas Veerman
223357f1050SThomas Veerman** gettext functionality is now only available externally
224357f1050SThomas Veerman
225357f1050SThomas Veerman** the constant FLEX_BETA is defined if flex is a beta release
226357f1050SThomas Veerman
227357f1050SThomas Veerman** the script create-test was not included in the distribution and it
228357f1050SThomas Veerman   should have been
229357f1050SThomas Veerman
230357f1050SThomas Veerman* version 2.5.22 released 2002-10-10
231357f1050SThomas Veerman
232357f1050SThomas Veerman** more portability fixes around how we get ahold of the integral
233357f1050SThomas Veerman   types; there is a constant FLEX_NEED_INTEGRAL_TYPE_DEFINITIONS
234357f1050SThomas Veerman   which you should define if you don't have the <inttypes.h> header
235357f1050SThomas Veerman   file (after you complain to your C vendor for not providing a
236357f1050SThomas Veerman   reasonable C environment)
237357f1050SThomas Veerman
238357f1050SThomas Veerman** more test suite cleanups; in particular, the test suite should run
239357f1050SThomas Veerman   correctly when build from a different directory
240357f1050SThomas Veerman
241357f1050SThomas Veerman** upgraded automake to 1.7 and consequently autoconf to 2.54; this
242357f1050SThomas Veerman   means, among other things, that there is some support for
243357f1050SThomas Veermanformatting the manual in postscript and pdf in the distributed
244357f1050SThomas Veerman   Makefile.in (and therefore in the Makefile built by configure)
245357f1050SThomas Veerman
246357f1050SThomas Veerman** the flex.1 manpage is generated by help2man; (this has been true
247357f1050SThomas Veerman   for quite a while but was not listed here)
248357f1050SThomas Veerman
249357f1050SThomas Veerman** flex now includes three defined constants to indicate which version
250357f1050SThomas Veerman  of flex generated a scanner (YY_FLEX_{MAJOR,MINOR,SUBMINOR}_VERSION)
251357f1050SThomas Veerman
252357f1050SThomas Veerman** flex tries its best to output only the relevant portions of the
253357f1050SThomas Veerman   skeleton when generating a scanner, thus avoiding as much
254357f1050SThomas Veerman   conditional compilation as possible
255357f1050SThomas Veerman
256357f1050SThomas Veerman* version 2.5.21 released 2002-9-17
257357f1050SThomas Veerman
258357f1050SThomas Veerman** one of the tests in the test suite broke the dist target
259357f1050SThomas Veerman
260357f1050SThomas Veerman* version 2.5.20 released 2002-9-16
261357f1050SThomas Veerman
262357f1050SThomas Veerman** A flex scanner has the ability to save the DFA tables to a file,
263357f1050SThomas Veerman   and load them at runtime when needed; see the manual for details
264357f1050SThomas Veerman
265357f1050SThomas Veerman** Added %option bison-bridge (--bison-bridge)
266357f1050SThomas Veerman
267357f1050SThomas Veerman** Removed %option reentrant-bison/--reentrant-bison/-Rb
268357f1050SThomas Veerman
269357f1050SThomas Veerman** yylineno is present in all scanners; Modified nasty performance
270357f1050SThomas Veerman   penalty warning with yylineno in documentation
271357f1050SThomas Veerman
272357f1050SThomas Veerman** test-table-opts is now run last in the test suite because it's so fat
273357f1050SThomas Veerman
274357f1050SThomas Veerman** flex can, to some extent, diagnose where internal problems occur
275357f1050SThomas Veerman
276357f1050SThomas Veerman** new translations from the translation project: fr, ca, de, ru, sv
277357f1050SThomas Veerman
278357f1050SThomas Veerman**Flex generates C99 defs now; see YY_TRADITIONAL_FUNC_DEFS in the
279357f1050SThomas Veerman  manual if that's not a good thing for you
280357f1050SThomas Veerman
281357f1050SThomas Veerman* version 2.5.19 released 2002-9-5
282357f1050SThomas Veerman
283357f1050SThomas Veerman** prevent segfault on input lines which are longer than the allocated
284357f1050SThomas Veerman   space (problem report from Manoj Srivastava
285357f1050SThomas Veerman   <srivasta@golden-gryphon.com>)
286357f1050SThomas Veerman
287357f1050SThomas Veerman** Changed option 'header' to 'header-file'
288357f1050SThomas Veerman
289357f1050SThomas Veerman* version 2.5.18 released 2002-9-4
290357f1050SThomas Veerman
291357f1050SThomas Veerman** portability fixes for integer constants and in the way the test
292357f1050SThomas Veerman   suite reports its results
293357f1050SThomas Veerman
294357f1050SThomas Veerman** the test for bison was reporting bison missing when it was, in
295357f1050SThomas Veerman   fact, found
296357f1050SThomas Veerman
297357f1050SThomas Veerman** if we don't find GNU indent, we're more careful when we're not
298357f1050SThomas Veerman   finding it
299357f1050SThomas Veerman
300357f1050SThomas Veerman* version 2.5.17 released 2002-8-29
301357f1050SThomas Veerman
302357f1050SThomas Veerman** more portability fixes
303357f1050SThomas Veerman
304357f1050SThomas Veerman** updated config.sub and config.guess
305357f1050SThomas Veerman
306357f1050SThomas Veerman** flex is indented by GNU indent (this was done earlier but not
307357f1050SThomas Veerman   explicitly documented)
308357f1050SThomas Veerman
309357f1050SThomas Veerman* version 2.5.16 released 2002-8-28
310357f1050SThomas Veerman
311357f1050SThomas Veerman** c++ scanners compile again
312357f1050SThomas Veerman
313357f1050SThomas Veerman** there is now an indent target in the top-level Makefile; configure
314357f1050SThomas Veerman   checks for GNU indent which is required for proper operation of the
315357f1050SThomas Veerman   indent target
316357f1050SThomas Veerman
317357f1050SThomas Veerman** some more portability fixes were made
318357f1050SThomas Veerman
319357f1050SThomas Veerman** %options and invocation sections of manual merged
320357f1050SThomas Veerman
321357f1050SThomas Veerman** a c++ test was added to the test suite
322357f1050SThomas Veerman
323357f1050SThomas Veerman** we're trying to clean up more files in the test suite's make clean
324357f1050SThomas Veerman   targets
325357f1050SThomas Veerman
326357f1050SThomas Veerman* version 2.5.15 released 2002-8-21
327357f1050SThomas Veerman
328357f1050SThomas Veerman** reject-state buffer is now dynamically allocated and REJECT buffer
329357f1050SThomas Veerman   variables are reentrant-safe
330357f1050SThomas Veerman
331357f1050SThomas Veerman** manual now discusses memory usage
332357f1050SThomas Veerman
333357f1050SThomas Veerman** skeleton now processed by m4 before mkskel.sh; (this only matters
334357f1050SThomas Veerman   if you want to change the skeleton or if you're doing flex development)
335357f1050SThomas Veerman
336357f1050SThomas Veerman** zh_cn translation added from translation project
337357f1050SThomas Veerman
338357f1050SThomas Veerman** a bug that caused a segfault has now been fixed
339357f1050SThomas Veerman
340357f1050SThomas Veerman** the test suite now respects the usual CFLAGS, etc. variables
341357f1050SThomas Veerman
342357f1050SThomas Veerman** removed some warnings which some tests trigggered with the -s option
343357f1050SThomas Veerman
344357f1050SThomas Veerman** the flex-generated header file now tries to be smarter about
345357f1050SThomas Veerman   conditionally including start conditions
346357f1050SThomas Veerman
347357f1050SThomas Veerman** tables code omitted from generated scanner when not used
348357f1050SThomas Veerman
349357f1050SThomas Veerman* version 2.5.14 released 2002-8-15
350357f1050SThomas Veerman
351357f1050SThomas Veerman** the tests using the reentrant c scanner as c++ were reworked
352357f1050SThomas Veerman   slightly to be sure that the c++ was enforced
353357f1050SThomas Veerman
354357f1050SThomas Veerman** de translation now included in the distribution
355357f1050SThomas Veerman
356357f1050SThomas Veerman** various portability fixes regarding nls support, c++ include
357357f1050SThomas Veerman   headers, etc.
358357f1050SThomas Veerman
359357f1050SThomas Veerman* version 2.5.13 released 2002-8-15
360357f1050SThomas Veerman
361357f1050SThomas Veerman** the header file output with %option header is now much smaller
362357f1050SThomas Veerman
363357f1050SThomas Veerman** Fixed type mismatch in printf in scanner skeleton
364357f1050SThomas Veerman
365357f1050SThomas Veerman** yylex_init now reports errors
366357f1050SThomas Veerman
367357f1050SThomas Veerman* version 2.5.12 released 2002-8-8
368357f1050SThomas Veerman
369357f1050SThomas Veerman** updated gettext support to 0.11.5
370357f1050SThomas Veerman
371357f1050SThomas Veerman** new fr translation from the translation project
372357f1050SThomas Veerman
373357f1050SThomas Veerman** bison is no longer needed to build flex; If you are building flex
374357f1050SThomas Veerman   from a release (i.e., not from a cvs snapshot), then you don't need
375357f1050SThomas Veerman   to have a pre-built lex around either (unless you modify scan.l, of
376357f1050SThomas Veerman   course); (This has been true for some time, but was not mentioned
377357f1050SThomas Veerman   here.)
378357f1050SThomas Veerman
379357f1050SThomas Veerman* version 2.5.11 released 2002-7-31
380357f1050SThomas Veerman
381357f1050SThomas Veerman** Fixed bug where yyless did not consider yylineno
382357f1050SThomas Veerman
383357f1050SThomas Veerman** the yylineno performance hit is now gone
384357f1050SThomas Veerman
385357f1050SThomas Veerman** fixed some typos in the manual and we now include texinfo.tex in
386357f1050SThomas Veerman   the distribution
387357f1050SThomas Veerman
388357f1050SThomas Veerman** traditional prototypes output for C scanners, controlled by a
389357f1050SThomas Veerman   preprocessor symbol; see documentation for details
390357f1050SThomas Veerman
391357f1050SThomas Veerman* version 2.5.10 released 2002-7-24
392357f1050SThomas Veerman
393357f1050SThomas Veerman** yy_globals renamed to yyscanner and yy_globals_t renamed to
394357f1050SThomas Veerman   yy_guts_t
395357f1050SThomas Veerman
396357f1050SThomas Veerman** added dist-bzip2 option to Makefile.am so we now produce a bzip2'd
397357f1050SThomas Veerman   archive in addition to the standard gzip archive
398357f1050SThomas Veerman
399357f1050SThomas Veerman*  version 2.5.9
400357f1050SThomas Veerman
401357f1050SThomas Veerman** new tests in test suite: test-mem-{nr,r}, test-posix,
402357f1050SThomas Veerman   test-posixly-correct, test-debug-{nr,r}
403357f1050SThomas Veerman
404357f1050SThomas Veerman** made changes to work with gcc-3.2 development code
405357f1050SThomas Veerman
406357f1050SThomas Veerman** ability to choose which memory functions are used in flex
407357f1050SThomas Veerman
408357f1050SThomas Veerman** new yylex_destroy() function for the non-reentrant scanner
409357f1050SThomas Veerman
410357f1050SThomas Veerman** new handling of POSIXLY_CORRECT environment variable
411357f1050SThomas Veerman
412357f1050SThomas Veerman** the test suite now has its copyrights explicitly described
413357f1050SThomas Veerman
414357f1050SThomas Veerman** new ca, de, fr, ru, sv, tr translations
415357f1050SThomas Veerman
416357f1050SThomas Veerman* version 2.5.8
417357f1050SThomas Veerman
418357f1050SThomas Veerman** a new --posix option generates scanners with posix-style abc{1,3}
419357f1050SThomas Veerman   compatible parsing, see manual for the screwy details
420357f1050SThomas Veerman
421357f1050SThomas Veerman* version 2.5.7
422357f1050SThomas Veerman
423357f1050SThomas Veerman** configure.in now includes a call to AC_PREREQ to enforce the
424357f1050SThomas Veerman   requirement for autoconf at least 2.50 (This only effects you if
425357f1050SThomas Veerman   you're doing flex development.)
426357f1050SThomas Veerman
427357f1050SThomas Veerman** configure now uses autoconf's versioning information and configure
428357f1050SThomas Veerman   --help reports the bug-reporting address for flex
429357f1050SThomas Veerman
430357f1050SThomas Veerman** test suite now only reports success versus failure; reporting
431357f1050SThomas Veerman   skipped is problematic under the current setup
432357f1050SThomas Veerman
433357f1050SThomas Veerman** compilation with --disable-nls now works
434357f1050SThomas Veerman
435357f1050SThomas Veerman** flex can now be built in a separate directory
436357f1050SThomas Veerman
437357f1050SThomas Veerman* version 2.5.6
438357f1050SThomas Veerman
439357f1050SThomas Veerman** gettext support added (from gettext 0.11)
440357f1050SThomas Veerman
441357f1050SThomas Veerman*** translations for ca, da, de, es, fr, ko, ru, sv, tr included
442357f1050SThomas Veerman
443357f1050SThomas Veerman** distribution now built under automake 1.6 and autoconf 2.53
444357f1050SThomas Veerman
445357f1050SThomas Veerman** command-line option parsing happens differently now:
446357f1050SThomas Veerman
447357f1050SThomas Veerman*** Added long option parsing
448357f1050SThomas Veerman
449357f1050SThomas Veerman*** Options -n and -c, previously deprecated, now simply do nothing
450357f1050SThomas Veerman
451357f1050SThomas Veerman*** Options are now parsed left to right
452357f1050SThomas Veerman
453357f1050SThomas Veerman** added a number of new options
454357f1050SThomas Veerman
455357f1050SThomas Veerman*** All positive %options are now accessible from the command line
456357f1050SThomas Veerman
457357f1050SThomas Veerman*** Added option -D, to define a preprocessor symbol
458357f1050SThomas Veerman
459357f1050SThomas Veerman*** Added option --header=FILE to specify a C .h file to generate
460357f1050SThomas Veerman
461357f1050SThomas Veerman*** added option --yywrap to call yywrap on EOF
462357f1050SThomas Veerman
463357f1050SThomas Veerman*** added option --yylineno to track line count in yylineno
464357f1050SThomas Veerman
465357f1050SThomas Veerman*** --yyclass=NAME name of C++ class when generating c++ scanners
466357f1050SThomas Veerman
467357f1050SThomas Veerman*** for long option names which are associated with existing short
468357f1050SThomas Veermanoptions, see accompanying documentation
469357f1050SThomas Veerman
470357f1050SThomas Veerman*** new %option nounistd or command-line --nounistd added to prevent
471357f1050SThomas Veerman    flex from generating #include <unistd.h> on systems that don't
472357f1050SThomas Veerman    have that include file
473357f1050SThomas Veerman
474357f1050SThomas Veerman** Support for reentrant C scanners has been added
475357f1050SThomas Veerman
476357f1050SThomas Veerman*** Updated the manual with the new reentrant API
477357f1050SThomas Veerman
478357f1050SThomas Veerman*** Two new options %option reentrant (-R) and
479357f1050SThomas Veerman%option reentrant-bison (-Rb)
480357f1050SThomas Veerman
481357f1050SThomas Veerman*** All globals optionally placed into struct yyglobals_t
482357f1050SThomas Veerman
483357f1050SThomas Veerman*** All access to globals replaced by macro invocations
484357f1050SThomas Veerman
485357f1050SThomas Veerman*** All functions optionally take one additional
486357f1050SThomas Veermanargument, yy_globals
487357f1050SThomas Veerman
488357f1050SThomas Veerman*** New style for invoking reentrant scanner:
489357f1050SThomas Veermanyylex_init(void** scanner );
490357f1050SThomas Veermanyylex( scanner );
491357f1050SThomas Veermanyylex_destroy( scanner );
492357f1050SThomas Veerman
493357f1050SThomas Veerman*** Added get/set functions for members of struct yy_globals_t
494357f1050SThomas Veermane.g.,  yyget_text, yyget_leng, etc
495357f1050SThomas Veerman
496357f1050SThomas Veerman*** Prefix substitution added for new functions
497357f1050SThomas Veerman
498357f1050SThomas Veerman*** Macro shortcuts to the lengthy get/set functions
499357f1050SThomas Veermanprovided for use in actions, e.g.,  yytext, yyleng, etc
500357f1050SThomas Veerman
501357f1050SThomas Veerman*** Arbitrary, user-defined data, "yyextra", may be added to scanner
502357f1050SThomas Veerman
503357f1050SThomas Veerman** %option nomain no longer implies %option yywrap
504357f1050SThomas VeermanBut the inverse is still true
505357f1050SThomas Veerman
506357f1050SThomas Veerman** Developer test suite added
507357f1050SThomas Veerman
508357f1050SThomas Veerman*** TESTS/ directory has been added. Users can
509357f1050SThomas Veerman'make test' in the TESTS directory to execute the test suite
510357f1050SThomas Veerman
511357f1050SThomas Veerman** Support for bison variables yylval and yylloc added
512357f1050SThomas Veerman
513357f1050SThomas Veerman** automake support for the build process
514357f1050SThomas Veerman
515357f1050SThomas Veerman** manual is now in texinfo/info format
516357f1050SThomas Veerman
517357f1050SThomas Veerman*** flex.1 removed from distribution
518357f1050SThomas Veerman
519357f1050SThomas Veerman** flex no longer generates C-language scanners with C++-style
520357f1050SThomas Veerman   comments
521357f1050SThomas Veerman
522357f1050SThomas Veerman** flex now generates scanners in c++ which are compatible with
523357f1050SThomas Veerman   recent c++ compilers
524357f1050SThomas Veerman
525357f1050SThomas Veerman** flex input scanner now recognizes '\r' as an EOL character
526357f1050SThomas Veerman
527357f1050SThomas VeermanSee the file ONEWS for changes in earlier releases.
528357f1050SThomas Veerman
529357f1050SThomas VeermanLocal Variables:
530357f1050SThomas Veermanmode: text
531357f1050SThomas Veermanmode: outline-minor
532357f1050SThomas Veermanend:
533