summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Create libfl.pc target for pkgconfigTyler Slabinski2017-08-24
|
* scanner: #define BASENAME, remove #include libgen.hJannick2017-07-17
|
* mkskel.sh: fix EOL issue for CRLF systemsJannick2017-07-18
|
* scanner: Ignore comment lines in skeleton files.jannick02017-07-15
| | | | | | | | | In skeleton files comments are indicated by leading `%#` and when directly read in using `flex -S <skeleton.skl>` they should be ignored. Example: `flex.skl`. Amending commit 2f21edac99b5efc432417233e6e53326d630e08f which removed this conditional branch.
* filter: faster is_blank_line implementationExplorer092017-07-15
| | | | Using regex_t regex_blank_line is *slow*.
* filter: new internal function is_blank_line()Explorer092017-07-13
| | | | | | It's simply to return (regexec(&regex_blank_line, str, 0, NULL, 0) == 0); The reason for encapsulation is to allow replacing this with a non-regex method if necessary.
* build: require automake, gettext versions as per maintainer dev setupWill Estes2017-07-13
|
* doc: NEWS memory leak fixWill Estes2017-07-03
|
* scanner: memory leak free scanner generator.viktor.shepel2017-07-03
| | | | | | | | | | | | **Issue:** Scanner generation leaks memory for transition tables when invoked without `--tables-file` option. **Root cause:** `gentabs` function has different memory acquire/release conditions. **Solution:** Reclaim memory at the same scope where it was alloacated.
* filter: memory leak free scanner postprocessing.viktor.shepel2017-07-03
| | | | | | | | | | | | | | | **Issue:** Scanner postprocessing leaks memory during correction of `#line` directives values and generation of C header file. **Root cause:** `filter_fix_linedirs` and `filter_tee_header` functions do not dispose allocated memory. **Solution:** Automatically reclaim affected memory by allocating it on stack insted of heap. Stack allocation should not be a problem as its only 512 bytes and there is no recursive calls.
* doc: NEWS c{i,j}Will Estes2017-07-03
|
* scanner: c{i,j} should preserve case.NieDzejkob2017-07-03
| | | | Fixes #193
* doc: document --backup-file in NEWSWill Estes2017-07-03
|
* scanner: add optionn to specify backup filename.EricSharkey2017-07-03
| | | | | | In a directory containing multiple scanners, we want to allow specifying the name of the backup file else the backup files will be overwritten.
* doc: new uk translationWill Estes2017-06-18
|
* doc: new uk translation from the Translation ProjectTranslation Project2017-06-18
|
* doc: formatting fixes in READMEExplorer092017-06-04
|
* test: echo 'set -v' before setting so in shell.Explorer092017-06-04
|
* doc: tableopts rule portability mentioned in NEWSWill Estes2017-05-26
|
* test: remove duplicate shell options lineWill Estes2017-05-26
|
* test: use portable pattern substitution in tableopts.shExplorer092017-05-24
| | | | Fixes: #222
* doc: document NetBSD build crash fixWill Estes2017-05-19
|
* build: remove automake check-newsWill Estes2017-05-19
|
* scanner: Use reallocarr() when available.Thomas Klausner2017-05-19
| | | | | | | | | NetBSD had a crash during build. Since the provided substitute for reallocarray() wasn't working, use NetBSD's reallocarr(). Let configure choose that function whenever it is available. Use reallocarray if available. Still fallback if neither is available. Fixes #219
* doc: list line number directives in NEWSWill Estes2017-05-14
|
* filter: Output correct #line value for current file.Jeff Smith2017-05-14
| | | | | | | A #line pre-processor directive specifies the line number and source file of the following lines. If the source file _is_ the current file, the line number should be that of the line following the directive. So the specified line number should be the current line number plus 1.
* scanner: corrected typoWill Estes2017-05-13
|
* doc: noyyget/set_column options documentedWill Estes2017-05-13
|
* scanner: finish support for noyy{get,set}_column.Will Estes2017-05-13
| | | | Unattributed patch carried over from sourceforge bug tracker.
* build: .mailmap for cleaning up shortlogWill Estes2017-05-13
|
* test: rename some files for non-case-sensitive filesystems.Hans-Bernhard Broeker2017-05-06
| | | | | | | -C*f and -C*F option-specific test files collide on case-insensitive file systems, and cause tests to either not be run at all, or to overwrite each other's files at build time. So rename -C*F ones to -C*_F.
* build: 2.6.4 is previous versionWill Estes2017-05-06
|
* build: ignore .sig files.Will Estes2017-05-06
| | | | | We generate gpg signatures in place for releases. Since these should not be tracked in the flex repo itself, we tell git to ignore them.
* build: no longer ignore *.tar.bz2Will Estes2017-05-06
| | | | | Since we no longer generate *.tar.bz2 archives, we do not need to tell git to ignore them.
* gettext: pulled latest translations; recompiled against current sourcesWill Estes2017-05-06
|
* version 2.6.4Will Estes2017-05-06
| | | | * NEWS: Record release date.
* note previous versionWill Estes2017-05-06
|
* doc: update NEWS for upcoming releaseWill Estes2017-05-06
|
* doc: Correct typo in C code sample in manualviktor.shepel2017-05-06
|
* scanner: Mention %# comments are removed when building skel.cExplorer092017-05-06
|
* Honor user definitions of yy_* macrosDemi Obenour2017-05-03
| | | | | The user may have defined the yy_* macros themselves. In that case, don't clobber them.
* Don't leak macro definitions into header filesDemi Obenour2017-05-03
| | | | | | | This allowed unnamespaced definitions to leak into header files, breaking client code. Fixes #142
* scanner: Check for 0 bracecount when EOL ends quoted literal.Demi Obenour2017-05-03
| | | | | This can happen in the case of // comments (which Flex doesn't handle specially).
* scanner: when bracelevel is negative, treat as zero.Demi Obenour2017-05-03
| | | | | This really should never happen, but this at least fixes the breakage on Verilator.
* test: enable more silent building of tests.Jeff Smith2017-05-03
| | | | | | | | When running 'make V=0 check', some compile and link steps are made less verbose and some are not. This cleans up most steps that are not. These have no effect if V=0 is not specified.
* build: Delete comments from skeleton file.Demi Obenour2017-05-03
| | | | | | Since the comments in flex.skl are, by hypothesis, not needed in skel.c, we remove them. THis reduces the size of the resulting executable somewhat.
* build: do not generate lib/Makefile.in.Explorer092017-05-03
| | | | | | Files in lib/ are picked up and built using makefile directives in src/Makefile.am. Remove the need to generate lib/Makefile.in and the stub lib/Makefile.am.
* gettext: revert listing generated .c filesWill Estes2017-05-02
|
* FLEX_EXIT() is the preferred way to exit flexJeff Smith2017-05-02
|
* Fix myesc() 'sptr' conditionalsExplorer092017-05-02
| | | | | | | | | | * Don't call isascii() here. It's deprecated in POSIX and not needed for myesc's case. * The check of the character class and range here should match what's defined as {ESCSEQ} in scan.l, so for [[:xdigit:]] we use isxdigit(); for [0-7] we check '0' <= c <= '7' (not isdigit(c) because isdigit is locale-dependant in standard's sense) * Add missing length limit for "\x<hex>" (<hex> is at most 2 digits)