Make the >>> error message depend on the allow signed flag.
The >>> operator is also part of the allow signed extensions.
This commit is contained in:
parent
8580ceea4d
commit
ab265c6373
|
|
@ -143,10 +143,12 @@ static void emit_expr_binary(ivl_scope_t scope, ivl_expr_t expr, unsigned wid)
|
|||
emit_expr(scope, ivl_expr_oper2(expr), 0);
|
||||
break;
|
||||
case 'R':
|
||||
if (! allow_signed) {
|
||||
fprintf(stderr, "%s:%u: vlog95 error: >>> operator is not "
|
||||
"supported.\n",
|
||||
ivl_expr_file(expr), ivl_expr_lineno(expr));
|
||||
vlog_errors += 1;
|
||||
}
|
||||
case 'l':
|
||||
case 'r':
|
||||
emit_expr(scope, ivl_expr_oper1(expr), wid);
|
||||
|
|
|
|||
Loading…
Reference in New Issue