Debian Codegraph @

changelog

raw
1 flexc++ (2.19.00)
2
3 * Updated the INSTALL item 2, mentioning the use of ccache
4
5 * Removed the #include "" line in Scanner.ih if no token-path is specified.
6
7 -- Frank B. Brokken <[email protected]> Wed, 01 Apr 2026 08:41:25 +0200
8
9 flexc++ (2.18.01)
10
11 * Minimal cosmetics
12
13 -- Frank B. Brokken <[email protected]> Tue, 31 Mar 2026 19:12:38 +0200
14
15 flexc++ (2.18.00)
16
17 * Added new option/directive 'token-path'.
18
19 * Redesigned the FPattern::LopData subclass: it contains a FPattern *d_lhs
20 instead of an FPattern object (causing problems when converting Flexc++ to
21 a program using modules).
22
23 * Requires bobcat >= 6.09.00 and icmake >= 13.04.00.
24
25 * Reflex OK.
26
27 -- Frank B. Brokken <[email protected]> Thu, 04 Sep 2025 11:14:08 +0200
28
29 flexc++ (2.17.01)
30
31 * The g++ compiler (>= 15.0.0) requires non-empty strings when calling their
32 .back() member. A size check was added to the generated scanner (e.g.,
33 lex.cc) at the en of its matched_ member.
34
35 -- Frank B. Brokken <[email protected]> Thu, 06 Mar 2025 12:56:10 +0100
36
37 flexc++ (2.17.00)
38
39 * Requires bobcat >= 6.07.00 and icmake >= 13.00.03.
40
41 * Changed ArgConfig::None into ArgConfig::NoArg.
42
43 * Building uses a SPCH and multi-compilation.
44
45 * The compiler is called using the value of the ${ICMAKE_CPPSTD} environment
46 variable specifying the C++ standard to use.
47
48 -- Frank B. Brokken <[email protected]> Sun, 12 Jan 2025 21:05:42 +0100
49
50 flexc++ (2.16.00)
51
52 * Repaired a bug in skeletons/flexc++'s switchIstream function causing the
53 new istream to fail.
54
55 * Building flexc++ using icmake requires icmake >= 12.01.00. Using a SPCH
56 caused confusion by the compiler: there's a Flexc++ class Pattern and a
57 bobcat class Pattern. The ambiguity was resolved by renaming Flexc++'s
58 class Pattern to FPattern. Reflex OK.
59
60 -- Frank B. Brokken <[email protected]> Sat, 22 Jun 2024 16:20:27 +0200
61
62 flexc++ (2.15.00)
63
64 * Repaired a bug in the States initialization causing rules like r{...}
65 never to match when they happened to be specified as the first regular
66 expression in lexer specification files
67
68 * Added regression test p21 illustrating a{2} as the first regex.
69
70 * Building flexc++ using icmake requires icmake >= 11.01.02 (the file
71 c++std was removed)
72
73 -- Frank B. Brokken <[email protected]> Sat, 23 Mar 2024 13:21:37 +0100
74
75 flexc++ (2.14.00)
76
77 * Replaced 'typedef' definitions by 'using' declarations, also in generated
78 scanners.
79
80 -- Frank B. Brokken <[email protected]> Thu, 23 Mar 2023 10:12:44 +0100
81
82 flexc++ (2.13.01)
83
84 * Changed leftover links to github into links to gitlab.
85
86 -- Frank B. Brokken <[email protected]> Sat, 18 Mar 2023 10:32:04 +0100
87
88 flexc++ (2.13.00)
89
90 * The in-class implementations of the members of the default
91 ScannerBase::Input class are now located as inline defined members
92 in the file scannerbase.h below the interface of the class ScannerBase.
93
94 * Updated the description of how to handle a user-defined Input class in the
95 manual and the man-pages.
96
97 -- Frank B. Brokken <[email protected]> Thu, 16 Mar 2023 11:25:08 +0100
98
99 flexc++ (2.12.00)
100
101 * Added new directives %baseclass-preinclude and %input-inline.
102
103 * Added new option --baseclass-preinclude (-H).
104
105 * Updated the man-pages' descriptions of how to use a user-define class
106 Input
107
108 -- Frank B. Brokken <[email protected]> Fri, 10 Mar 2023 15:06:27 +0100
109
110 flexc++ (2.11.02)
111
112 * Ready for libbobcat6
113
114 * Added 'c++std' defining the c++ standard to use for
115 compilation. Compilation commands also use -Werror
116
117 -- Frank B. Brokken <[email protected]> Sun, 11 Sep 2022 13:53:37 +0200
118
119 flexc++ (2.11.01)
120
121 * Repaired the generator/loop{1,4}.cc files containing leftover calls to
122 d_input. instead of using d_input->, as d_input was changed to a pointer
123 (see Flexc++ 2.10.00's changelog item).
124
125 * Removed deprecated calls to 'std::bind2nd'
126
127 * Prevented segfaults with regexes that result in indirect recursive
128 switches to the same grammar states, which may be encountered with overly
129 complex regexes like .*+
130
131 * Compilation now uses -Werror in addition to -Wall
132
133 -- Frank B. Brokken <[email protected]> Tue, 23 Aug 2022 21:07:51 +0200
134
135 flexc++ (2.11.00)
136
137 * The 'Scanner(string const &infile, string const &outfile)',
138 'Scanner(istream &in, ostream &out)', and comparable ScannerBase
139 constructors have received a third parameter, 'keepCwd = true'. See 'man
140 flexc++api' for details.
141
142 * The build script supports an option 'strip' to strip the binary
143 constructed by 'build {program, oxref, scanner}'. The previously defined
144 '[strip]' options were dropped.
145
146 * Compilation uses the '--std=c++20' option.
147
148 -- Frank B. Brokken <[email protected]> Tue, 22 Feb 2022 13:29:39 +0100
149
150 flexc++ (2.10.01)
151
152 * Removed -q from flexc++'s build script
153
154 -- Frank B. Brokken <[email protected]> Sat, 26 Jun 2021 14:50:57 +0200
155
156 flexc++ (2.10.00)
157
158 * User-provided Input classes are declared in ScannerBase's protected
159 section. In that case ScannerBase's 'Input *d_input' data member is also
160 declared in ScannerBase's protected section.
161
162 -- Frank B. Brokken <[email protected]> Thu, 22 Apr 2021 15:04:03 +0200
163
164 flexc++ (2.09.01)
165
166 * Added a section about how to handle character constants to the
167 flexc++input(7) man-page.
168
169 -- Frank B. Brokken <[email protected]> Thu, 18 Mar 2021 11:33:54 +0100
170
171 flexc++ (2.09.00)
172
173 * When switching streams the current working directory is changed to
174 the absolute path names of the specified input streams.
175
176 * After constructing Scanner objects and when their lex() members return the
177 working directory that was active before teir call is restored.
178
179 * Added the member std::string const &cwd(), returning the working directory
180 that was active then the Scanner's constructor was called.
181
182 * Removed superfluous '.tar.gz' extensions from the final lines of the
183 man-pages
184
185 -- Frank B. Brokken <[email protected]> Sun, 21 Feb 2021 12:10:49 +0100
186
187 flexc++ (2.08.01)
188
189 * Typo corrections
190
191 -- Frank B. Brokken <[email protected]> Fri, 13 Nov 2020 16:03:23 +0100
192
193 flexc++ (2.08.00)
194
195 * //include filename directives change the current working directory (cwd)
196 to filename's path, returning to the previous cwd at filename's EOF.
197
198 * The member 'streamStack()[].pushedName' contains the pathname of the
199 current active specification files. [0].pushedName contains the pathname
200 of the initial specification file passed to the lexical scanner.
201
202 * The documentation was updated accordingly
203
204 * Fixed a flaw in distinguishing filenames from comment when using //include
205 directives.
206
207 -- Frank B. Brokken <[email protected]> Fri, 13 Nov 2020 13:54:36 +0100
208
209 flexc++ (2.07.11)
210
211 * Oops, the manual's chapters after the introductory chapter were missing:
212 now they're available again.
213
214 -- Frank B. Brokken <[email protected]> Sun, 30 Aug 2020 15:14:11 +0200
215
216 flexc++ (2.07.10)
217
218 * Updated the man(ual)'s description of how the scanner is informed about
219 the tokens expected by the (bisonc++ generated) parser (QUICK START:
220 FLEXC++ and BISONC++)
221
222 -- Frank B. Brokken <[email protected]> Mon, 10 Aug 2020 08:30:47 +0200
223
224 flexc++ (2.07.09)
225
226 * Generated the parser using bisonc++ 6.04.00, Reflex OK
227
228 * Circular dependencies between the scanner and the parser were removed.
229
230 * Tim Schoenborn encountered a bug causing flexc++ to segfault. The bug was
231 caused by the d_data shared pointer in the class State which may
232 remain at its default state. The members State::next1 and State::next2
233 returned, resp. d_data->next1() andd_data->next2(), causing the segfault.
234 Since the 0-initialization is required, the next?() functions now test for
235 d_data == 0, in which case they return 0.
236
237 * Known typos in de manual were fixed.
238
239 -- Frank B. Brokken <[email protected]> Sat, 18 Apr 2020 15:26:05 +0200
240
241 flexc++ (2.07.08)
242
243 * Oops, the member streamStack should not be available in interactive
244 scanners: it is now only available if the generated scanner is not an
245 interactive scanner.
246
247 * Updated the man-page to the 'token-path' facility offered by bisconc++.
248
249 * Updated the icmake/findall function to match the icmake(1) man-page
250 description.
251
252 -- Frank B. Brokken <[email protected]> Fri, 20 Mar 2020 17:28:08 +0100
253
254 flexc++ (2.07.07)
255
256 * Added missing implementation of the member ScannerBase::streamStack()
257
258 * Minor flexc++api man-page update
259
260 -- Frank B. Brokken <[email protected]> Fri, 17 Jan 2020 22:23:35 +0100
261
262 flexc++ (2.07.06)
263
264 * Parser generated by bisonc++ 6.03.00
265
266 -- Frank B. Brokken <[email protected]> Thu, 13 Jun 2019 14:48:33 +0200
267
268 flexc++ (2.07.05)
269
270 * Minor flaws in the user manual were fixed.
271
272 -- Frank B. Brokken <[email protected]> Wed, 24 Apr 2019 20:39:41 +0200
273
274 flexc++ (2.07.04)
275
276 * The descriptions of the members pushStream and popStream in the flexc++api
277 man-page and the manual was updated
278
279 * The file flexc++.xref now also contains flexc++'s function call-tree.
280
281 -- Frank B. Brokken <[email protected]> Thu, 21 Mar 2019 03:36:41 +0100
282
283 flexc++ (2.07.03)
284
285 * Updated the QUICK START sections in bf(flexc++)(1).
286
287 * Compiling flexc++ itself depends on facilities in the std::filesystem
288 namespace. This requires a recent compiler (e.g., g++-8.2.0 or beyond)
289 when compiling flexc++.
290
291 * The inline function template 'as' is relocated above the inline functions
292 using 'as', to prevent clang++-7 compilation warnings.
293
294 -- Frank B. Brokken <[email protected]> Sat, 10 Nov 2018 12:06:28 +0100
295
296 flexc++ (2.07.02)
297
298 * [[fallthrough]] requires a final semicolon (cf. C++ std 20, 10.6.5).
299 Flexc++'s internal and generated code is updated accordingly.
300
301 -- Frank B. Brokken <[email protected]> Mon, 25 Jun 2018 13:50:37 +0200
302
303 flexc++ (2.07.01)
304
305 * Migrated Flexc++ from Github to Gitlab.
306
307 -- Frank B. Brokken <[email protected]> Tue, 19 Jun 2018 07:20:14 +0530
308
309 flexc++ (2.07.00)
310
311 * Nested namespace specifications (like my::nested::ns) cannot be used in
312 include-guard specifications. In those cases only the alpha-numeric
313 characters and the underscore of the namespace are used (thanks, avalchev,
314 for bringing this to my attention).
315
316 * Since identifiers having series of two or more underscores are reserved by
317 the C++ standard, all identifiers ending in two trailing underscores were
318 redefined as identifiers ending in a single underscore. This involves the
319 enums
320 ActionType_, Leave_, StartConditon_, PostEnum_,
321 the members
322 actionType_, continue_, echoCh_, echoFirst_, executeAction_,
323 getRange_, get_, istreamName_, lex_, lop1_, lop2_, lop3_, lop4_,
324 lopf_, matched_, noReturn_, print_, pushFront_, reset_, return_,
325 state_, switchStream_, updateFinals_,
326 and the protected data members
327 d_in_ d_token_ s_finIdx_, s_interactive_ s_maxSizeofStreamStack_,
328 s_nRules_, s_rangeOfEOF_, s_ranges_, s_rf_.
329 Existing code using the previously defined names (ending in two
330 underscores) can easily me updated by replacing the trailing double
331 underscores by single underscores. In practice this will most likely only
332 involve StartCondition_, PostEnum_ and maybe lex_ and print_, as the other
333 identifiers are intended for internal use only.
334
335 -- Frank B. Brokken <[email protected]> Tue, 15 May 2018 12:23:40 +0200
336
337 flexc++ (2.06.04)
338
339 * Replaced (erroneously used) .hh extensions by (intended) .ih extensions in
340 the man-pages and manual.
341
342 -- Frank B. Brokken <[email protected]> Fri, 09 Mar 2018 22:13:56 +0100
343
344 flexc++ (2.06.03)
345
346 * Added C++-17 attributes like [[fallthrough]] and [[maybe_notused]] to
347 flexc++'s and its generated code.
348
349 * Improved the layout and fixed an error in some generated debug-statements
350
351 * By implication: g++ >= 7.00.00 is required to compile the generated code.
352
353 -- Frank B. Brokken <[email protected]> Thu, 08 Mar 2018 12:44:31 +0100
354
355 flexc++ (2.06.02)
356
357 * Flexc++'s parser code was generated by bisonc++ V 6.00.00.
358
359 * The build script now properly recognizes the 'strip' option
360
361 * By default precompiled headers are used. The option -P (cf. log entry
362 'flexc++ (2.05.00)' below) is now opertational.
363 Be advised that using -P removes all existing .ih.gch files from the
364 directory containing 'main.ih' and from all its immediate subdirectories.
365
366 * Removed the --std=c++14 compiler option since that's the standard by now.
367
368 -- Frank B. Brokken <[email protected]> Tue, 18 May 2017 11:19:09 +0200
369
370 flexc++ (2.06.01)
371
372 * Somehow the timestamps of scanner/lexer and scanner/lex.cc were incorrect,
373 resulting in the build process attempting to rebuild lex.cc using flexc++
374 (which at this point clearly doesn't exist). The timestamps were fixed in
375 this release.
376
377 -- Frank B. Brokken <[email protected]> Sat, 04 Mar 2017 09:17:18 +0100
378
379 flexc++ (2.06.00)
380
381 * Added directive %startcondition-name specifying a non-default name for the
382 StartCondition__ enum.
383
384 * Updated the man-pages/manual.
385
386 -- Frank B. Brokken <[email protected]> Mon, 27 Feb 2017 12:33:58 +0100
387
388 flexc++ (2.05.00)
389
390 * Precompiled headers are rebuilt when their .h or .ih file have changed.
391
392 * Added option --own-parser (-P) showing the actions of flexc++'s own parser
393 when parsing a lexer-specification file.
394
395 * New parser, built by bisonc++ V5.00.00.
396
397 * Repaired the faulty long-option definitions in main.cc, due to which
398 long options were not properly recognized
399
400 -- Frank B. Brokken <[email protected]> Wed, 13 Apr 2016 12:37:09 +0530
401
402 flexc++ (2.04.00)
403
404 * Carlos Bril and Micha de Rijk detected a curious bug resulting in flexc++
405 never recognizing its initial character range. E.g, these two rules
406 a
407 .|\n
408
409 place \t into the 0th character range containing the characters \0 through
410 \t. A scanner generated for these two rules echoed \t to cout as an
411 unrecognized character when running
412 echo '\t' | a.out
413 The bug was caused by flexc++ using range numbers rather than offsets in
414 dfarow/transitions.cc and dfarow/transit.cc (and related files)
415
416 * Added regression test p19 (regression/p19) to test recurrence of the
417 abovementioned bug.
418
419 * The bugfix on Fri Mar 13 (!) 2015 of a bug reported by Wopke Hellinga and
420 Mark Redeman reintroduced a problem with handling the lookahead operator,
421 causing regression test p02 to fail since then. This version implements an
422 alternative fix for the bug reported by Wopke and Mark, which does not
423 cause p02 to fail (see parser/lex.cc).
424
425 * Several inconsistencies in the manual were fixed.
426
427 * The source file containing main() was renamed to main.cc (was: flexc++.cc);
428 the internal header file for the main program was renamed to main.ih.
429
430 -- Frank B. Brokken <[email protected]> Sun, 06 Mar 2016 18:30:37 +0100
431
432 flexc++ (2.03.04)
433
434 * Fixed a memory leak reported by gendx caused by the missing ScannerBase
435 destructor.
436
437 * 'build install' supports an optional LOG: argument: the (relative or
438 absolute) path to a installation log file. The environment variable
439 FLEXCPP is no longer used.
440
441 * Updated the usage info displayed by `./build', altered the procedure to
442 install the files at their final destinations.
443
444 * Icmake files adapted to icmake 8.00.04
445
446 -- Frank B. Brokken <[email protected]> Mon, 14 Dec 2015 15:37:58 +0100
447
448 flexc++ (2.03.03)
449
450 * Kevin Brodsky observed that the installation scripts used 'chdir' rather
451 than 'cd'. Fixed in this release.
452
453 * Kevin Brodsky also observed that the combined size of all precompiled
454 headers might exceed some disks capacities. The option -P was added to the
455 ./build script to prevent the use of precompiled headers.
456
457 -- Frank B. Brokken <[email protected]> Mon, 05 Oct 2015 20:24:26 +0200
458
459 flexc++ (2.03.02)
460
461 * Reimplemented the (un)installation procedures
462
463 -- Frank B. Brokken <[email protected]> Fri, 02 Oct 2015 11:03:20 +0200
464
465 flexc++ (2.03.01)
466
467 * 'build manual' creates the manual when its called. If the manual already
468 exists, it is recreated. Same holds true for 'build man'
469
470 * Flexc++'s compilation now uses precompiled headers
471
472 -- Frank B. Brokken <[email protected]> Mon, 28 Sep 2015 18:48:43 +0200
473
474 flexc++ (2.03.00)
475
476 * Fixed a bug in handling {0, x} intervals: encountered by Guillaume
477 Endignoux.
478
479 * Guillaume also detected a bug in handling \x escape sequences in character
480 classes, e.g., [\x30-\x38]. That problem was not caused by handling the
481 escape sequence, but by handling concatenation of regular expressions. The
482 parser/inc/regexoreof file now contains an additional rule _regex_unit,
483 which handles the regex _units, possibly quantified, and their
484 concatenations, while _regex handles a _regex_unit and the operators | and
485 / that can be used to combine regular expressions.
486
487 * Guillame found an input file causing a continuous loop within
488 flexc++. This bug was fixed by terminating flexc++ at the final end of its
489 input streams.
490
491 * The //include filename facility was not recognized in previous
492 releases. It's now supported (cf. man flexc++input, FILE SWITCHING)
493
494 * Added 'build uninstall'. This command only works if, when calling one of
495 the 'build install' alternatives and when calling 'build uninstall' the
496 environment variable FLEXCPP contains the (preferably absolute) filename
497 of a file on which installed files and directories are logged.
498 Note that 'build (dist)clean' does not remove the file pointed at by the
499 FLEXCPP environment variable, unless that file happpens to be in a
500 directory removed by 'build (dist)clean'. See also the file INSTALL.
501 Defining the FLEXCPP environment variable as ~/.flexcpp usually works
502 well.
503
504 -- Frank B. Brokken <[email protected]> Fri, 28 Aug 2015 09:38:44 +0200
505
506 flexc++ (2.02.00)
507
508 * Wopke Hellinga and Mark Redeman noticed that flexc++ reported an error if
509 the last line of a rule definition does not end in a newline. This bug was
510 fixed in this release.
511
512 * Added the file 'required' to the source distribution summarizing the
513 required software for building flexc++, dropped the file 'build-depends'.
514
515 -- Frank B. Brokken <[email protected]> Fri, 13 Mar 2015 16:40:13 +0100
516
517 flexc++ (2.01.00)
518
519 * The algorithm to determine which rules are viable was changed. Now a
520 rule's viability is determined from the generated DFAs: rules matched at
521 DFA rows are now removed from a set of all rule indices. If any elements
522 remain, then those rules cannot be matched. See also the section about
523 'Finding non-viable rules' in the manual's technical documentation.
524
525 * Generating files is prevented when errors in option/declaration
526 specifications are encountered. All errors in option/declaration
527 specifications (instead of just the first error that is encountered)
528 are now reported.
529
530 * A warning is issued if an existing scanner.h file does not contain 'void
531 postCode(PostEnum__'. The warning also offers an advice to add the
532 required declaration/definition (showing the required code) to the
533 scanner.h file.
534
535 * References to line numbers of rules should now be correct, and should
536 refer to the line number where the rule's regex is specified.
537
538 * This version depends on bobcat >= 3.21.01, and uses Bobcat's Iterator
539 class template.
540
541 -- Frank B. Brokken <[email protected]> Sun, 16 Mar 2014 10:14:15 +0100
542
543 flexc++ (2.00.00)
544
545 * Completely re-implemented look-ahead operator (LOP) handling. The LOP is
546 now handled through mini-scanners, the previously used class TailCount and
547 the tail count Flag enum are no longer required and were removed from the
548 implementation. See also parser/README.grammar.
549
550 * Null-matching patterns using the look-ahead operator (e.g. a*/b) are
551 dangerous, and can take the generated scanner into a non-terminating loop.
552 When flexc++ detects such patterns it generates a warning. These warnings
553 can be suppressed by writing
554 //%nowarn
555 on the line immediately preceding the potentially null-matching pattern
556 using the look-ahead operator.
557
558 * Raw string literals, as defined by C++11, are supported
559
560 * NOTE WELL:
561
562 - when using flexc++ >= 2.00.00 to re-generate lex.cc and
563 ScannerBase.h, existing object files defining and using the
564 Scanner object should be recompiled, as flexc++ 2.00.00 uses a
565 different data-member organization in its ScannerBase class.
566
567 - new Input-class requirements:
568 size_t Input::nPending() const
569 must return the current number of pending (i.e., pushed back)
570 input characters;
571 void Input::setPending(size_t size)
572 must remove any initial number of pending characters, reducing
573 the number of pending characters to size.
574 The lexical scanner always passes the value received from
575 nPending() to setPending(), without calling Input::get() in
576 between.
577
578 - Character classes now fully support escape sequences. A \- inside a
579 character class indicates a litteral - and is not used to define a
580 character range. Refer to the man-page (flexc++input(7)) and/or to
581 the manual for further details.
582
583 * A second (optional) %% line in flexc++'s input file ends input file
584 processing. To specify a regex starting with %% surround it with double
585 quotes or indent it by at least one blank space.
586
587 * Warnings added in release 1.06.00 (issued when options or directives are
588 specified which are inconsistent with existing files, and which are issued
589 for the `baseclass-header', `class-name', `implementation-header', and
590 `namespace'options/directives) are now reported as errors, as flexc++
591 cannot simply ignore them since ignoring them may conflict with the
592 contents of the generated 'lex.cc' and 'Scannerbase.h' files.
593
594 * Repaired a bug introduced in 1.02, causing parser failures for letter and
595 digits in REs in the context of start conditions. Cause: after '>' in
596 parser/inc/msspec multiple letters/digits must be returned as individual
597 characters. Realized by calling d_scanner.multiAsChar() at ms_spec's
598 action block.
599
600 * Added several new regression tests
601
602 -- Frank B. Brokken <[email protected]> Sun, 09 Feb 2014 13:32:22 +0100
603
604 flexc++ (1.08.00)
605
606 * Added the 'postCode' member to the interface of the class generated by
607 flexc++
608
609 * Added the strongly typed PostEnum__ enumeration to the scanner base class
610 generated by flexc++
611
612 * Added a chapter `Pre-loading input lines' to the manual
613
614 * The single flexc++ man-page was split into several more specific
615 man-pages:
616 flexc++ -- general description, and features of flexc++ itself
617 flexc++input -- how to write flexc++'s input files
618 flexc++api -- description of the classes generated by flexc++
619
620 -- Frank B. Brokken <[email protected]> Sat, 28 Dec 2013 17:41:52 +0100
621
622 flexc++ (1.07.00)
623
624 * --force-* options removed. Use 'rm ...' to remove files if necessary.
625
626 -- Frank B. Brokken <[email protected]> Sun, 11 Aug 2013 11:11:11 +0200
627
628 flexc++ (1.06.00)
629
630 * Added images to the constructed manual
631
632 * When the `namespace' option/directive is used then the namespace
633 identifier is also used to define the include guards of generated .h
634 files.
635
636 * Warnings are issued when options or directives are specified wchich are
637 ignored because of an already existing target file (e.g., scanner.h,
638 scanner.ih). These warnings are not issued for lex.cc and scannerbase.h,
639 which are by default rewritten at each flexc++ run. These warnings are
640 issued for the `baseclass-header', `class-name', `implementation-header',
641 and `namespace'options/directives.
642
643 * Changed the implementation of 'class Options': it now mimics the
644 implementation used by bisonc++
645
646 * This version repairs the `joren-bug' (Reported by Joren Heit on June 7,
647 2013). Joren discovered that in some situations rules using the
648 LA-operator failed to re-scan the tail part of a RE using the LA-operator.
649
650 -- Frank B. Brokken <[email protected]> Tue, 06 Aug 2013 13:46:47 +0200
651
652 flexc++ (1.05.00)
653
654 * Removed the possibility to specify path names for the --baseclass-header,
655 --class-header, --implementation-header, and --lex-source options
656 (and corresponding directives). Alternative path names for generated files
657 should be specified using the target-directory option or directive.
658
659 * The man-page and manual have been updated accordingly.
660
661 -- Frank B. Brokken <[email protected]> Tue, 28 May 2013 15:43:33 +0200
662
663 flexc++ (1.04.00)
664
665 * FBB::Errno calls are replaced by FBB::Exception calls.
666
667 * Added a static cast to generator/inputimplementation.cc (line 74) to get
668 rid of a compiler warning.
669
670 * Added %filenames to the directives in the man-page.
671
672 * Added a public member 'interactiveLine()' to the scannerbase's interface
673 to refresh the current interactive line buffer with the contents of the
674 next interactive line.
675
676 * Repaired erroneous ``^' inside regex loses its special meaning' warnings
677 occurring with single line min-scanner REs like this:
678 <mini>^regex
679
680 * ScannerBase::d_more is initialized to false (removes a (harmless) valgrind
681 warning).
682
683 -- Frank B. Brokken <[email protected]> Fri, 15 Mar 2013 14:26:35 +0100
684
685 flexc++ (1.03.01)
686
687 * Catching FBB::Errno exceptions is replaced by catching std::exception
688 exceptions
689
690 -- Frank B. Brokken <[email protected]> Thu, 24 Jan 2013 21:09:23 +0100
691
692 flexc++ (1.03.00)
693
694 * flexc++ returns 0 when called with the -h or -v flags
695
696 -- Frank B. Brokken <[email protected]> Tue, 27 Nov 2012 21:06:08 +0100
697
698 flexc++ (1.02.00)
699
700 * White space may now follow a rule's mini-scanner specification. E.g.,
701 <comment>
702 {
703 rules for the comment mini scanner
704 }
705
706 * Usage info now correctly mentions -T as option character with --own-tokens
707
708 -- Frank B. Brokken <[email protected]> Sun, 25 Nov 2012 11:04:34 +0100
709
710 flexc++ (1.01.00)
711
712 * Removed 'inline' from skeletons/flexc++.cc
713
714 * Man-page and manual updated
715
716 * The --interactive option was removed (the %interactive directive remains)
717
718 -- Frank B. Brokken <[email protected]> Mon, 05 Nov 2012 11:05:32 +0100
719
720 flexc++ (1.00.01)
721
722 * Adapted the INSTALL file to flexc++
723
724 * Added the file 'build-depends' listing specific software and versions that
725 are used during flexc++'s compilation and by the final program.
726
727 * Several inconsistencies in the initial sections of flexc++'s user guide
728 were repaired.
729
730 -- Frank B. Brokken <[email protected]> Sat, 27 Oct 2012 14:49:47 +0200
731
732 flexc++ (1.00.00)
733
734 * The following #defines in INSTALL.im can be overruled by defining
735 identically named environment variables:
736 CXX defines the name of the compiler to use. By default `g++'
737 CXXFLAGS the options passed to the compiler.
738 By default `-Wall --std=c++0x -O2 -g'
739 LDFLAGS the options passed to the linker. By default no options are
740 passed to the linker.
741 SKEL the directory where the skeletons are stored
742
743 * Klaas Winter detected a bug in the skeletons/flexc++.cc file:
744 switchOstream incorrectly changed the name of the *input* file to "-".
745 The assignment to d_filename was removed from the skeleton file.
746
747 * Klaas Winter detected a bug in CharRange::predefined causing a setfault
748 when requesting a negated set of characters (like [:^space:]. The bug was
749 caused by removing from the set name all characters from ^ to the end of
750 the set name, instead of removing just the ^. Consequently, no character
751 selecting function (for [:) could of course be found.
752
753 * By now we're well beyond the 1 year beta testing period, which included
754 using flexc++ in bisonc++ and flexc++ itself, as well as the scanner
755 generating tool of choice for Frank's C++ course. Considering this
756 Jean-Paul and I decided to bump flexc++'s version from version 0.98.00 to
757 1.00.00. Removed
758 d_filename = "-";
759 from the skeleton file's implementation of switchOstream.
760
761 -- Frank B. Brokken <[email protected]> Sun, 16 Sep 2012 18:55:53 +0200
762
763 flexc++ (0.98.00)
764
765 * Implemented the --case-insensitive option (and directive), generating a
766 scanner ignoring letter casing.
767
768 * Several cosmetic changes were implemented
769
770 -- Frank B. Brokken <[email protected]> Fri, 11 May 2012 13:59:54 +0200
771
772 flexc++ (0.97.30)
773
774 * This version depends on Bobcat >= 3.00.00
775
776 -- Frank B. Brokken <[email protected]> Thu, 03 May 2012 21:35:05 +0200
777
778 flexc++ (0.97.20)
779
780 * George Danchev noticed that flexc++ created files even though parsing
781 failed. This flaw's repaired in this release
782
783 -- Frank B. Brokken <[email protected]> Fri, 20 Apr 2012 16:33:01 +0200
784
785 flexc++ (0.97.10)
786
787 * Added missing std:: prefixes to numeric_limits calls in skeletons/flexc++
788 and generator/tailcount.cc.
789
790 -- Frank B. Brokken <[email protected]> Fri, 20 Apr 2012 14:04:55 +0200
791
792 flexc++ (0.97.00)
793
794 * Added the --regex-calls option showing the order in which elements from
795 regular expressions are processed.
796
797 * Added the --matched-rules option showing the number of matched rules, just
798 before their actions are executed.
799
800 * Replaced '#include <climits>' by '#include <limits>' and '..._MAX'
801 constants by 'numeric_limits<...>::max()' calls. The same holds true for
802 flexc++'s skeletons.
803
804 * The files parser/parserbase.h and parser/parse.cc were added to the
805 archive, and the check for changes in the parser's grammar was removed
806 from 'build program' to remove the program's build process dependency on
807 bisonc++. To recreate the program for a new parser use 'build parser'.
808
809 * Skeletons can use fields (again) at $insert directives to specifiy
810 subcases. This is documented in generator/insert.cc, and used to generate
811 option specific code for --matched-rules (see skeletons/flexc++.cc at
812 debug.R).
813
814 * Flexc++ itself now uses a parser defining and using polymorphic semantic
815 values. To recreate the parser (but note that this is *not* required when
816 compiling flexc++ from the source archive), bisonc++ > 4.00.00 is
817 required.
818
819 -- Frank B. Brokken <[email protected]> Sat, 14 Apr 2012 13:44:00 +0200
820
821 flexc++ (0.96.00)
822
823 * Harold Bruintje noticed that rules explicitly assigned to the INITIAL mini
824 scanner are also used by other %s (inclusive) mini scanners. This is in
825 violation of the description given in
826
827 http://pubs.opengroup.org/onlinepubs/7908799/xcu/lex.html
828
829 stating
830
831 `When the generated scanner is in a %s state, patterns with no state
832 specified will be also active'
833
834 which excludes <INTIAL> regex rules.
835
836 This release implements %s mini scanner handling as described in lex.html.
837
838 -- Frank B. Brokken <[email protected]> Thu, 29 Mar 2012 09:02:57 +0200
839
840 flexc++ (0.95.00)
841
842 * Removed %max-depth again: should only be an option, not a directive
843
844 * Starting this release all release tags (using names that are identical to
845 the version number, so for this release the tag is 0.95.00) are signed to
846 allow authentication.
847
848 -- Frank B. Brokken <[email protected]> Mon, 27 Feb 2012 13:28:44 +0100
849
850 flexc++ (0.94.00)
851
852 * Added the --max-depth option defining the maximum lexical scanner
853 specification file depth (and %max-depth directive).
854
855 * Using a vector rather than a a stack to store stacked streams, to allow
856 the Scanner class (read) access to the number of stacked files and their
857 names.
858
859 -- Frank B. Brokken <[email protected]> Thu, 23 Feb 2012 11:53:06 +0100
860
861 flexc++ (0.93.00)
862
863 * Redesigned the interactive scanner: no additional protected data members,
864 an additional member (interactiveLine__) now handles the line-refresh from
865 the input stream.
866
867 * In interactive mode, lineNr() increments at each next interactive line.
868
869 -- Frank B. Brokken <[email protected]> Mon, 20 Feb 2012 09:58:34 +0100
870
871 flexc++ (0.92.00)
872
873 * Added 'leave(int retValue)' member that can be called from members called
874 from the scanner specification's actions to end the action, returning
875 'retValue' from 'lex()'
876
877 * Sanitized switch- and pushStream members for interactive and
878 non-interactive scanners
879
880 * Added missing d_atBOL = true assignment in pushStream, detected by Jurjen
881 Bokma.
882
883 * All man-pages combined into one man-page: flexc++(1).
884
885 * Implemented --filenames, --print-tokens and --own-tokens
886 options/directives
887
888 * Manual and man-pages updated
889
890 -- Frank B. Brokken <[email protected]> Fri, 17 Feb 2012 14:13:27 +0100
891
892 flexc++ (0.91.00)
893
894 * Jurjen Bokma found a segfault in action blocks at the end of files not
895 ending in '\n'. Caused by Input's d_in == 0 after an earlier EOF
896 detection, and then calling d_in->get(). Repaired by testing for d_in == 0
897
898 * Added --target-directory option (and directive) to define where the
899 generated files should be written if not at the default (lexer) location.
900
901 * The earlier minor versions should have been .9 rather than .09. Same for
902 the 0.08 series of changes. Version now (properly) set to 0.9x.yy.
903
904 -- Frank B. Brokken <[email protected]> Sat, 11 Feb 2012 13:44:10 +0100
905
906 flexc++ (0.09.52)
907
908 * The Scannner(std::string infile, std::string outfile) and
909 switchStreams(std::string infile, std::string outfile) members now also
910 accept outfile == "", in which case std::cerr is used as the scanner's
911 output stream.
912
913 -- Frank B. Brokken <[email protected]> Wed, 08 Feb 2012 11:48:28 +0100
914
915 flexc++ (0.09.51)
916
917 * Rebased release.yo in flexc++'s main directory, and no longer in its
918 parent, where it would contaminate Debian's area outside of flexc++'s
919 build-area.
920
921 -- Frank B. Brokken <[email protected]> Mon, 06 Feb 2012 21:11:42 +0100
922
923 flexc++ (0.09.50)
924
925 * At the beginning of its Debian life-cycle, flexc++'s changelog is
926 maintained again. This changelog does not reflect changes beyond version
927 0.08.04 and before 0.09.50. Logs for those versions can be obtained using
928 git. Currently (and until further notice) the primary git archive location
929 is http://www.icce.rug.nl/git/flexc++.git. Flexc++'s official web location
930 is http://www.flexcpp.org (badly in need of an update, though).
931
932 -- Frank B. Brokken <[email protected]> Mon, 06 Feb 2012 16:55:18 +0100
933
934 flexc++ (0.08.04)
935
936 * Implemented the %interactive option and --interactive flag to generate an
937 interactive scanner.
938
939 -- Frank B. Brokken <[email protected]> Sun, 15 Jan 2012 13:07:52 +0100
940
941 flexc++ (0.08.03)
942
943 * Repaired Jean-Paul's segfault for a simple scanner:
944 .*/b
945 .*
946 * Standardized the version to format v.mm.ss
947
948 * This version after merging fbb-wip Sat Jan 14 11:48:38 2012 +0100
949 (9ecf7b694c7e3f37a1e8f3d46b25e96c5d5e3d90) and master, a.k.a. tag
950 0.7.1-pre
951
952 -- Frank B. Brokken <[email protected]> Sat, 14 Jan 2012 13:43:22 +0100
953
954 flexc++ (0.8.2)
955
956 * Added ScannerBase::switchStreams(istream &, ostream &) and updated the
957 man-pages accordingly
958
959 -- Frank B. Brokken <[email protected]> Fri, 30 Dec 2011 17:32:16 +0100
960
961 flexc++ (0.8.1)
962
963 * Added missing ' ' and ':' characters to character-classes
964
965 -- Frank B. Brokken <[email protected]> Thu, 29 Dec 2011 22:23:50 +0100
966
967 flexc++ (0.8.0)
968
969 * Rebuilt of flexc++, see the git logs for details. Intermediate version
970 updates not separately logged before this date.
971
972 -- Frank B. Brokken <[email protected]> Mon, 11 Jul 2011 12:58:12 +0200
973
974 flexc++ (0.0.0)
975
976 * Project Start.
977
978 -- Frank B. Brokken <[email protected]> Fri, 18 Apr 2008 23:29:36 +0200