[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] improve error message
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 2/2] improve error message |
Date: |
Sat, 27 Aug 2022 22:29:20 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Luca Dariz, le dim. 03 avril 2022 17:00:20 +0200, a ecrit:
> * parser.y: add information about type names
>
> Signed-off-by: Luca Dariz <luca@orpolo.org>
Applied, thanks!
> ---
> parser.y | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/parser.y b/parser.y
> index 8d6b2aa..8521a84 100644
> --- a/parser.y
> +++ b/parser.y
> @@ -526,8 +526,8 @@ IPCType : PrimIPCType
> $$.size = $1.size;
> else
> {
> - error("sizes in IPCTypes (%d, %d) aren't equal",
> - $1.size, $3.size);
> + error("sizes in IPCTypes (%s %s %d, %s %s %d) aren't equal",
> + $1.instr, $1.outstr, $1.size, $3.instr, $3.outstr, $3.size);
> $$.size = 0;
> }
> }
> --
> 2.30.2
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 2/2] improve error message,
Samuel Thibault <=