From 39e68c6ed7c9d6a2a73ab079846bc53c2839351f Mon Sep 17 00:00:00 2001 From: Luca Dariz Date: Sun, 3 Apr 2022 17:00:20 +0200 Subject: improve error message * parser.y: add information about type names Signed-off-by: Luca Dariz Message-Id: <20220403150020.120799-3-luca@orpolo.org> --- 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; } } -- cgit v1.2.3