* parser.y: add information about type names

Signed-off-by: Luca Dariz <l...@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;
        }
     }
-- 
2.30.2


Reply via email to