Re: [GNU Bison 3.7.1] testsuite: 136 failed
Akim Demaille <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi David, > Le 30 août 2020 à 09:20, Akim Demaille <[email protected]> a écrit : > > Hi David, > >> Le 28 août 2020 à 19:29, David Laxer <[email protected]> a écrit : >> >> Hi, >> >> I’m running OS X 10.11.6 >> >> Please find attached: tests/testsuite.log > > AFAICT, there was no such attachment. So you answered to me privately, and the log contains: 136. output.at:725: testing C++ Output File Prefix Mapping ... ./output.at:755: COLUMNS=1000; export COLUMNS; NO_TERM_HYPERLINKS=1; export NO_TERM_HYPERLINKS; bison --color=no -fno-caret -fcaret -o out/x1.cc -M out/=bar/ x1.yy ./output.at:755: $CXX $CXXFLAGS $CPPFLAGS -Iout/include -c -o out/x1.o out/x1.cc stderr: stdout: ./output.at:762: sed -ne 's/#line [0-9]\+ "/#line "/p;/INCLUDED/p;/\\file/{p;n;p;}' out/include/ast/loc.hh --- - 2020-08-28 08:34:51.000000000 -0700 +++ /Users/davidlaxer/bison-3.7.1/tests/testsuite.dir/at-groups/136/stdout 2020-08-28 08:34:51.000000000 -0700 @@ -2,9 +2,5 @@ ** Define the x1::location class. #ifndef YY_YY_BAR_INCLUDE_AST_LOC_HH_INCLUDED # define YY_YY_BAR_INCLUDE_AST_LOC_HH_INCLUDED -#line "x1.yy" -#line "bar/include/ast/loc.hh" -#line "x1.yy" -#line "bar/include/ast/loc.hh" #endif // !YY_YY_BAR_INCLUDE_AST_LOC_HH_INCLUDED I tend to think the problem is that your sed does not support \+. Could you please send me the result of grep '#line' bison-3.7.1/tests/testsuite.dir/136/out/include/ast/loc.hh ? TIA.