Austin English austinenglish@gmail.com writes:
@@ -281,8 +281,8 @@ msg : msgid sevfacsym { test_id($1); } bodies { $$ = complete_msg($4, $1); } ;
msgid : tMSGID '=' id {
if($3 & (~0xffff))
xyyerror("Message ID value out of range (0x%08x > 0xffff)\n", $3);
if($3 & (~0xffffffff))
xyyerror("Message ID value out of range (0x%08x > 0xffffffff)\n", $3);
There shouldn't be any need to change the message compiler, there are severity/facility message options.