diff options
author | Luca Dariz <luca@orpolo.org> | 2022-04-03 17:00:20 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-27 22:28:54 +0200 |
commit | 39e68c6ed7c9d6a2a73ab079846bc53c2839351f (patch) | |
tree | 7fbd7a4a5080b4b2524daa6d74e29effbcba0d46 | |
parent | 01bfa1fc30bd5715918c44a1b226d43c9491a0ae (diff) | |
download | mig-39e68c6ed7c9d6a2a73ab079846bc53c2839351f.tar.gz mig-39e68c6ed7c9d6a2a73ab079846bc53c2839351f.tar.bz2 mig-39e68c6ed7c9d6a2a73ab079846bc53c2839351f.zip |
improve error message
* parser.y: add information about type names
Signed-off-by: Luca Dariz <luca@orpolo.org>
Message-Id: <20220403150020.120799-3-luca@orpolo.org>
-rw-r--r-- | parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |