t/lex-multiple.sh


Log

Author Commit Date CI Message
Stefano Lattarini 56070294 2013-05-09T19:50:38 tests: avoid spurious failure with older flex (2.5.4) That old version is unfortunately still relevant, being the one installed on NetBSD 5.1. * t/lex-multiple.sh: Use the '-o' option rather than the longer equivalent '--outfile'. The latter is not supported by older versions of flex (e.g., flex 2.5.4). Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini 16574dac 2013-01-12T17:30:32 coverage: using multiple lexers in a single program Using Flex and Automake built-in support for lex, that is possible. A little tricky, but not difficult. See: <http://lists.gnu.org/archive/html/automake/2010-10/msg00081.html> <http://lists.gnu.org/archive/html/automake/2009-03/msg00061.html> * t/lex-multiple.sh: New test. * t/list-of-tests.mk: Add it. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>