[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] cex: prefer → to ::=
From: |
Akim Demaille |
Subject: |
Re: [PATCH 3/3] cex: prefer → to ::= |
Date: |
Tue, 14 Jul 2020 07:01:20 +0200 |
> Le 11 juil. 2020 à 18:53, Akim Demaille <akim.demaille@gmail.com> 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 <akim.demaille@gmail.com>
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: