Re: [PATCH 3/3] cex: prefer → to ::=
Akim Demaille <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.patches |
|---|---|
| Message-ID | <[email protected]> |
> Le 11 juil. 2020 à 18:53, Akim Demaille <[email protected]> a écrit : > > diff --git a/tests/diagnostics.at b/tests/diagnostics.at > index 17a2ebc5..40480a59 100644 > --- a/tests/diagnostics.at > +++ b/tests/diagnostics.at > @@ -376,10 +376,12 @@ exp:^M > ]], > [0], > [[input.y:11.9-11: <warning>warning:</warning> symbol FOO redeclared [<warning>-Wother</warning>] > - 11 | %token > <warning>FOO</warning> > + 11 | %token > + <warning>FOO</warning> > | <warning>^~~</warning> > input.y:10.9-11: <note>note:</note> previous declaration > - 10 | %token > <note>FOO</note> > + 10 | %token > + <note>FOO</note> > | <note>^~~</note> > input.y:13.5: <warning>warning:</warning> empty rule without %empty [<warning>-Wempty-rule</warning>] > 13 | exp: This was incorrect, I had to install this. commit cc11bb037cc8a678e5ab069870c331c89c4cd3cb Author: Akim Demaille <[email protected]> Date: Tue Jul 14 06:47:40 2020 +0200 tests: fix expectations Broken in ee86ea88399ed02243fbceb2704c9ea322a12bf9. * tests/diagnostics.at: here. diff --git a/tests/diagnostics.at b/tests/diagnostics.at index 40480a59..f505c5d6 100644 --- a/tests/diagnostics.at +++ b/tests/diagnostics.at @@ -376,12 +376,10 @@ exp:^M ]], [0], [[input.y:11.9-11: <warning>warning:</warning> symbol FOO redeclared [<warning>-Wother</warning>] - 11 | %token - <warning>FOO</warning> + 11 | %token <warning>FOO</warning> | <warning>^~~</warning> input.y:10.9-11: <note>note:</note> previous declaration - 10 | %token - <note>FOO</note> + 10 | %token <note>FOO</note> | <note>^~~</note> input.y:13.5: <warning>warning:</warning> empty rule without %empty [<warning>-Wempty-rule</warning>] 13 | exp: