summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* [master]: Cleanup generated files based on changes to flex.skl.debian/2.6.0-11Manoj Srivastava2016-02-24
| | | | | | | | | | | | | | The variable yy_n_chars had been of type yy_size_t which is incorrect given its use in read(). While it might be adviseable to look at defining a yy_ssize_t, there might be some issues doing this and so, for now, at least, we'll punt back to int. Bug fix: "Type of yy_n_chars changed to yy_size_t by authors cause bug in YY_INPUT macro where result argument is tested if &lt; 0; thanks to gcc&#39;s -Werror=type-limits", thanks to Michal Fita (Closes: #770161). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* Merge branch 'fix-yy-n-char-size-t'Manoj Srivastava2016-02-24
|\
| * Changed type of yy_n_chars to int; gh#53, sf#160.Will Estes2016-02-24
| | | | | | | | | | | | | | The variable yy_n_chars had been of type yy_size_t which is incorrect given its use in read(). While it might be adviseable to look at defining a yy_ssize_t, there might be some issues doing this and so, for now, at least, we'll punt back to int.
* | Merge branch 'fix-buffer-allocation'Manoj Srivastava2016-02-24
|\ \
| * | Fixed size of bufferallocation, resolved gh#54.Will Estes2016-02-24
| |/ | | | | | | The value of n_alloc was a count, not a size. Multiplying the value by the element size was incorrect. That multiplication was already being done and having it done twice was incorrect.
* | [master]: Fix undeclared variable tsz.debian/2.6.0-10Manoj Srivastava2016-02-24
| | | | | | | | Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* | Merge branch 'fix-line-directives'Manoj Srivastava2016-02-24
|\ \
| * | Emit no #line directives if gen_line_dirs is false, resolves igh#55.Tobias Klauser2016-02-24
| |/ | | | | | | | | | | | | | | | | | | | | | | There are two instances in the code which will print a #line directive to the resulting lexer, regardless of the value of gen_line_dirs. Fix them, so they also respect gen_line_dirs. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Manoj Srivastava <srivasta@debian.org> # Conflicts: # src/buf.c
* | Merge branch 'fix-option-noline'Manoj Srivastava2016-02-24
|\ \
| * | Allow '%option noline' in flex input file, resolves gh#56.Tobias Klauser2016-02-24
| |/ | | | | | | | | | | | | Allow specifying '%option noline' in the input file, leading to the same effect as calling flex with the command line option --noline. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* | Merge branch 'fix-c-plus-comment'Manoj Srivastava2016-02-13
|\ \
| * | [fix-c-plus-comment]: Update generated files after "Commented in C style in ↵Manoj Srivastava2016-02-13
| |/ | | | | | | | | | | skeleton;" Signed-off-by: Manoj Srivastava <srivasta@debian.org>
| * Commented in C style in skeleton; fixed sf#195Will Estes2016-02-05
| |
* | Commented in C style in skeleton; fixed sf#195Will Estes2016-02-05
| |
* | Revert "[fix-off-by-one-error]: generatred line numbers are off by one"Manoj Srivastava2016-01-25
| | | | | | | | | | This reverts commit d78a3072cf6268d48110735485f163e1588c23aa. The error seems to have been independently fixed.
* | Merge branch 'upstream'Manoj Srivastava2016-01-22
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Manoj Srivastava <srivasta@debian.org> # Conflicts: # INSTALL # Makefile.in # aclocal.m4 # build-aux/compile # build-aux/config.guess # build-aux/config.sub # build-aux/depcomp # build-aux/install-sh # build-aux/mdate-sh # build-aux/texinfo.tex # configure # doc/Makefile.in # doc/flex.1 # doc/flex.info # doc/flex.info-1 # doc/flex.info-2 # doc/flex.pdf # doc/stamp-vti # doc/version.texi # examples/Makefile.in # examples/fastwc/Makefile.in # examples/manual/Makefile.in # src/config.h.in # tests/Makefile.in # tests/test-bison-nr/Makefile.am # tests/test-bison-yylloc/Makefile.am # tests/test-bison-yylval/Makefile.am # tools/Makefile.in
* Imported Upstream version 2.6.0Manoj Srivastava2016-01-22
|
* Supplied versioning information in flex libraries.lukeallardyce2015-11-13
| | | | Resolves sourceforge bug #182. On OSX, and possibly other platforms, building the libfl libraries without versioning information caused a build failures.
* Merge branch 'master' into streamrefsMightyjo2015-11-08
|\
| * Cleaned more generated sources.Mightyjo2015-11-08
| | | | | | | | | | | | | | Added skel.c explicitly to MAINTAINERCLEANFILES in src/Makefile.am. Added a bunch of files to built_SOURCES in tests/Makefile.am so that the suite is easier to clean up.
* | Changed several pointers to istream (and ostream) to references in c++-only ↵Mightyjo2015-11-07
|/ | | | | | | | | | | | | | sections of the skeleton. Patched up a variety of expected errors caused by changing istream* to istream&. Added a stray 'make' at line 545. Oops. Changed the buffer_state struct to store std::streambuf* instead of std::istream* for C++ mode. Changed interfaces in FlexLexer.h to take std::istream& instead of *. Backward compatibility temporarily broken. Patched up backward compatibility with reasonable behavior in the presence of null pointers. Re-added backward-compatible versions of the yyFlexLexer methods that take iostream pointers. All tests passing.
* fix possible resource leak with yynultrans_tblJaska Uimonen2015-08-06
|
* fix possible uninitialized array valuesJaska Uimonen2015-08-06
|
* Fix `label unused` warningMariusz Pluciński2014-11-26
|
* Fix two "signed/unsigned" warningsMariusz Pluciński2014-11-26
|
* Remove unused variable from src/filter.c:filter_fix_linedirsMariusz Pluciński2014-11-25
|
* Remove unused argument and variable from src/scanopt.c:scanopt_errMariusz Pluciński2014-11-23
|
* Fix a few "unused parameter" warningsMariusz Pluciński2014-11-23
|
* Fix warning about redefined macro when multiple scanners are used.Mariusz Pluciński2014-11-23
|
* Fix -Wdocumentation warningsAlexis La Goutte2014-11-21
|
* NetBSD downstream patches.Christos Zoulas2014-11-11
| | | | | | | | | | | | | | | | const fixes. -Wconversion fixes for the skeleton files. param namespace protection (add _ to inline function parameters). unused variable/code removal. rename warn to lwarn to avoid conflict with <err.h>. ctype.h function argument correction. merged the error functions lerrif and lerrsf -> lerr.
* Allow error reporting routines to accept varying number of arguments in ↵Mariusz Pluciński2014-07-25
| | | | modern style
* Fix warning on assigning from `const char*` to `char*`Mariusz Pluciński2014-07-25
|
* Add disambiguation braces in main.cMariusz Pluciński2014-07-25
|
* Removed deprecated 'register' storage class specifier.Yuri2014-07-25
| | | | clang-3.5.0 now complains about them: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
* Change output formats from octal to hexadecimalMariusz Pluciński2014-06-26
|
* check limits before using array index cclp; resolves sf-166Will Estes2014-05-03
|
* Suppress clang warning about empty @param paragraph; resolves sf#158Sean McBride2014-04-02
| | | | Signed-off-by: Will Estes <westes575@gmail.com>
* Adjust buffer sizes on ia64.Cyril Brulebois2014-03-05
| | | | | | | | | | | | | | From the debian change entry: > Finish fixing the ia64 buffer issue. Previous commits increased YY_READ_BUF_SIZE (where __ia64__ is defined) but left YY_BUF_SIZE unchanged, so that didn't fix the problem in the end. In the general case, the latter is twice the former. Therefore set it to the same ratio in the ia64 case. In general, this sort of architecture specific fix is not the path we want to take, but the cleanup should be done in a more organized way in the future and getting it working would be preferrable now.
* move m4 make variable to src/Makefile.am.Will Estes2014-02-18
| | | | | | This prevents an error when building skel.c caused by the $(m4) make variable not being defined. Particularly nasty since skel.c would still be created, thus causing make to think skel.c was up to date.
* move flex program sources into src/ directoryWill Estes2014-02-16
The *.[chly] sources are now in the src directory. This implies a bunch of changes in Makefile.am and friends to account for the new location. The .gitignore files are now more local to places where various object files and generated source files occur.