From f35c9794b0a98bfe696e4002dc403ea76a9e4d63 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 1 Jun 2011 18:49:27 +0200 Subject: [PATCH] lex tests: fix spurious failures with Solaris lex * tests/lex-lib.test (foo.l): Avoid empty "rules section", which can confuse Solaris lex. * tests/lex-libobj.test (foo.l): Likewise. --- ChangeLog | 7 +++++++ tests/lex-lib.test | 1 + tests/lex-libobj.test | 1 + 3 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index e974a1b01..d719a78c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-06-01 Stefano Lattarini + + lex tests: fix spurious failures with Solaris lex + * tests/lex-lib.test (foo.l): Avoid empty "rules section", which + can confuse Solaris lex. + * tests/lex-libobj.test (foo.l): Likewise. + 2011-06-01 Stefano Lattarini lex tests: do not force the use of flex unconditionally diff --git a/tests/lex-lib.test b/tests/lex-lib.test index e5fdc00b5..0cdc4b745 100755 --- a/tests/lex-lib.test +++ b/tests/lex-lib.test @@ -48,6 +48,7 @@ END cat > foo.l <<'END' %% +"END" return EOF; . %% int main (void) diff --git a/tests/lex-libobj.test b/tests/lex-libobj.test index 449bd474b..75831c45e 100755 --- a/tests/lex-libobj.test +++ b/tests/lex-libobj.test @@ -47,6 +47,7 @@ END cat > foo.l <<'END' %% +"END" return EOF; . %% int main (void) -- 2.47.2