summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Documented building and installation of flexwestes-installWill Estes2022-09-274-44/+69
| | | | | | Since GNU autotools no longer provides a stock INSTALLATION file, we provide one that speaks to flex specifically. fixes #402
* updates from translation projectWill Estes2022-09-2724-5404/+5450
|
* Merge pull request #527 from Mightyjo/issue-525Will Estes2022-06-175-4/+162
|\ | | | | Fix Issue #525 - Segfault in yyinput
| * fix(issue-525): Fail gracefully when yy_get_next_buffer can't find one.Joseph Langley2022-05-185-3/+21
| | | | | | | | Demonstrate yyinput() error checking for this condition.
| * fix(issue-525): Add regression test for Issue 525.Joseph Langley2022-05-182-1/+141
| | | | | | | | yyrestart should not set yy_fill_buffer to 1 when it was previously set to 0 (e.g. by yy_scan_buffer).
* | Merge pull request #529 from ggujjula/issue_369Will Estes2022-06-171-0/+13
|\ \ | | | | | | Add documentation about option '--yymore'
| * | Add anchors and refs to areas relevant to '--yymore'ggujjula2022-05-311-1/+3
| | |
| * | Add documentation for option '--yymore'ggujjula2022-05-311-0/+11
| |/
* | Merge pull request #528 from xiaohanyu/fix-doc-errorWill Estes2022-06-171-2/+2
|\ \ | | | | | | fix some tiny doc errors.
| * | fix some tiny doc error.Xiao Hanyu2022-05-261-2/+2
| |/
* | Merge pull request #531 from Explorer09/flexint-includeWill Estes2022-06-171-0/+9
|\ \ | |/ |/| Also check for C++ standard version when deciding to include <stdint.h>
| * Also check for C++ standard version when deciding to include <stdint.h>Explorer092022-06-171-0/+9
|/ | | | | | Fixes: #517 Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Merge pull request #513 from ggujjula/issue_398Will Estes2022-05-164-1/+21
|\ | | | | Issue 398; Documentation fix; Additional command-line options
| * Add command-line options --noyyget_debug and --noyyset_debugggujjula2021-12-293-0/+12
| |
| * Replace mention of input() in documentation with yyinput()ggujjula2021-12-291-1/+1
| |
| * Add command-line options --noinput and --noyyinputggujjula2021-12-293-0/+8
| |
* | Merge pull request #524 from Mightyjo/issue-521Will Estes2022-05-161-2/+6
|\ \ | | | | | | doc(manual): Character classes
| * | doc(manual): Correct character class examples and special meaning discussion.Joseph Langley2022-05-111-2/+6
| | | | | | | | | | | | See Issue 521 and 478.
* | | Merge pull request #523 from Mightyjo/github-ciWill Estes2022-05-166-78/+35
|\ \ \ | |/ / |/| | GitHub Actions (Replacing TravisCI)
| * | chore(ci): Remove testing configs from GH Action workflows.Joseph Langley2022-05-112-2/+2
| | |
| * | chore(ci): Update GH Actions scripts to Ubuntu 20Joseph Langley2022-05-112-7/+7
| | |
| * | chore(ci): Enable GitHub Actions on github-ci branch.Joseph Langley2022-05-112-2/+2
| | |
| * | chore(travisci): Remove Travis CI configs.Joseph Langley2022-05-114-74/+2
| | |
| * | chore(gh-actions): Build and test on GitHub Actions CI platform.Joseph Langley2022-05-111-0/+29
|/ / | | | | | | Use ubuntu-18.04.
* | new pl translation from the translation projectWill Estes2022-01-031-219/+193
|/
* Remove trailing whitespaceSean McBride2021-10-233-35/+35
| | | | Many projects have pre-commit hooks that check for pedantic things like trailing whitespace. No harm in removing it to pacify them.
* Merge pull request #491 from Mightyjo/issue_469Will Estes2021-08-1312-45/+1310
|\ | | | | Issue 469; Compute length of yy_state_buf correctly
| * chore(skel): Fix permissions on cpp-flex.sklJoseph Langley2021-07-021-0/+0
| |
| * chore(skel): Improve comment at state buffer init.Joseph Langley2021-07-021-1/+3
| |
| * fix(skel): Init state buffer correctlyJoseph Langley2021-07-023-57/+40
| | | | | | | | State buffer initialization in cpp-flex.skl got lost during a rebase. Added it back in from c99-flex.skl and made improvements suggested by smcpeak.
| * chore(perm): Fix permissions 755->644Joseph Langley2021-07-027-0/+0
| |
| * chore(make): Ensure distcheck cleans up directories.Joseph Langley2021-06-092-3/+4
| |
| * fix(skel): Fix porting errors from the cpp to the c99 and go skeletons.Joseph Langley2021-06-092-2/+5
| |
| * fix(skel): Use yypanic in place of YY_FATAL_ERROR.Joseph Langley2021-06-092-2/+2
| | | | | | | | yypanic() is new in the c99 and go skeletons.
| * fix(skel): Add state buffer size handling to reentrant scanner skeletons.Joseph Langley2021-06-093-12/+79
| |
| * chore(test): Declare script variables before use.Joseph Langley2021-06-091-0/+2
| | | | | | | | For set -euvx
| * fix(skel): Add state buffer size handling to non-reentrant scanner skeletons.Joseph Langley2021-06-093-5/+109
| |
| * Ensure size of Reject state buffer is sufficient each time ↵Mightyjo2021-06-095-1/+556
| | | | | | | | yy_switch_to_buffer is called.
| * Don't use C++ auto, it angers TravisCI.Mightyjo2021-06-091-1/+1
| |
| * Fix test failure on TravisCI.Mightyjo2021-06-091-1/+1
| |
| * Test for reversion of CVE-2006-0459.Mightyjo2021-06-091-1/+5
| |
| * Test for reversion of CVE-2006-0459.Mightyjo2021-06-092-0/+544
| |
* | chore(action): Clean up dead codeJoseph Langley2021-08-131-4/+1
| | | | | | Leave clear instructions on what to do if the Autobuild step breaks.
* | fix(action): Let Autobuild do most of the workJoseph Langley2021-08-131-12/+18
| | | | | | Try preparing configure with autogen.sh, then letting codeql-action/autobuild do it's work prior to analysis.
* | Update codeql-analysis.ymlJoseph Langley2021-08-131-6/+11
| |
* | fix compile warning originating in cpp skeletonSimon Sobisch2021-06-221-1/+1
|/ | | `gcount()` is of type `streamsize` which has a system-dependent size with at least `int`. Because of the `int max_size` limit no bigger value will be returned, the explicit cast fixes warnings from compilers/static analyzers.
* Merge branch 'yy-init-buffer-nonnull' of git://github.com/Explorer09/flex ↵Will Estes2021-06-083-3/+3
|\ | | | | | | into Explorer09-yy-init-buffer-nonnull
| * scanner: Fix compiler confusion in yy_init_buffer()Explorer092021-06-073-3/+3
| | | | | | | | | | | | | | | | | | | | | | When complied with 'gcc -O3', the yy_init_buffer call can confuse gcc, thinking the 'b' pointer may be NULL. (gcc would warn that if '-Wnull-dereference' is used). Fix the confusion by never pass a NULL constant to the function. Fixes: #377 Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* | Remove manual m4 search code. No more stat() dependency.Explorer092021-06-073-39/+1
|/ | | | | | | | | | | | | | This reverts commit c34590c4bf067d4e749e5298a8ce9f90072d6332 and all search code patches that followed it. The execvp() would do the $PATH searching of m4 for flex. There's no need to duplicate the effort. Another reason for the removal is to remove dependency on stat() system call, which would cause a problem in a 32-bit OS accessing a filesystem with 64-bit inode number (see #413). Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Merge branch 'autogen-sh' of git://github.com/Explorer09/flex into ↵Will Estes2021-06-051-12/+13
|\ | | | | | | Explorer09-autogen-sh