Will Estes [Wed, 11 Nov 2015 20:20:56 +0000 (15:20 -0500)]
Changed man page dependencies.
The man page is just the --help output as reformatted by help2man. The
--help option is most likely to change when the flex skeleton changes
or one of the option parsing files changes or the configure.ac script
itself changes. The dependencies reflect this now.
It is still necessary, under some circumstances, to rebuild flex
explicitly before building the man page. In theory, it's possible to
have automake arrange to do this all the time, but doing so works out
to be fragile, given the rest of the build system.
Mightyjo [Tue, 27 Oct 2015 03:35:00 +0000 (20:35 -0700)]
Changed several pointers to istream (and ostream) to references in c++-only 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.
Will Estes [Fri, 14 Nov 2014 13:35:24 +0000 (08:35 -0500)]
Ignore directories build-aux/, m4/
Since build-aux/ now contains a number of files previously at the top
level, we ignore build-aux/. Therefore, it's not necessary to list any
files that are now kept in it. Also, explicitly mark m4/ as a directory to ignore.
Will Estes [Fri, 14 Nov 2014 13:29:44 +0000 (08:29 -0500)]
added back call to AC_CONFIG_AUX_DIR.
In an effort to reduce top level directory clutter, reintroduced the
call to AC_CONFIG_AUX_DIR. Moved the call to LT_INIT to after that
call so configure will be able to find its files.
Will Estes [Mon, 16 Jun 2014 20:11:14 +0000 (16:11 -0400)]
Refactor reject test for new test suite layout.
Split out reject test into its constituant tests. Add .reject tests
and .table tests for automake test log generation. Rewrite
testwrapper.sh to handle running with a tables file and specifying
optional input using command line options rather than positional
parameters.
Will Estes [Mon, 16 Jun 2014 00:52:03 +0000 (20:52 -0400)]
Refactor multiple_scanners_r test for new test suite layout.
Also, remove the use of table files from this test as that tests two
features at once and we want to be as close to testing one feature at
a time as we can be.
Will Estes [Wed, 4 Jun 2014 18:52:16 +0000 (14:52 -0400)]
upgrade automake version to 1.14.1
Unfortunately, automake 1.14.1 does not play nicely with
AC_CONFIG_AUX_DIR, so upgrading the used automake version required
removing the build-aux directory and letting autoconf's installed
helper files live more over the tree.
Will Estes [Sun, 1 Jun 2014 19:09:29 +0000 (15:09 -0400)]
make tests/testwrapper.sh more verbose; find input in srcdir
Since output is redirected by the automake parallel test suite driver,
turn on both -v and -x in bash for the testwrapper.sh shell
script. This helps a ton in debugging problems with the test harness
itself.
In general, the input files are in automake's srcdir and the name of
the test includes the relative path to it (even though that's supposed
to be ./). Therefore, pass srcdir in AM_LOG_FLAGS and prepend that to
the test name as part of constructing the input file's name.
In Bison 3.0, support for YYLEX_PARAM and YYPARSE_PARAM has been
removed (deprecated in Bison 1.875): use %lex-param, %parse-param, or
%param. This commit fixes the tests so they still work.
Removed deprecated 'register' storage class specifier.
clang-3.5.0 now complains about them: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]