[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SPAM] [GNU Bison 2.3] testsuite: 155 failed

From: Paul Eggert
Subject: Re: [SPAM] [GNU Bison 2.3] testsuite: 155 failed
Date: Sat, 03 Feb 2007 17:07:32 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Here is the only difference between what you sent and what I get with
the same test.

diff -prubw 155/glr-regr14.c 155-bad/glr-regr14.c
--- 155/glr-regr14.c    2007-02-01 13:58:12.000000000 -0800
+++ 155-bad/glr-regr14.c        2007-02-03 16:45:21.000000000 -0800
@@ -69,10 +69,10 @@
 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE 
+typedef union 
 #line 31 "glr-regr14.y"
 { char value; }
-/* Line 203 of glr.c.  */
+/* Line 204 of glr.c.  */
 #line 77 "glr-regr14.c"

This difference does explain the symptoms.  But now we need to figure
out why you're getting the difference.

The relevant line in glr.c looks like this:

[typedef union m4_bregexp(b4_stype, [^{], [YYSTYPE ])

So one possibility is that your version of 'm4' mishandles
a regular expression of the form "^{".  Perhaps it thinks that
the "{" is part of regular expression punctuation?

Which version of m4 are you using?  What is the output of "m4 --version"?
Did you build this m4, or did someone else build it for you?

What happens when you try regexp(`{abc', `^{', `foo') with your m4?
Here's what happens with mine (m4 1.4.8):

$ m4
regexp(`{abc', `^{', `foo')

reply via email to

[Prev in Thread] Current Thread [Next in Thread]