vlog95 target: ! operator does not require explicit type conversion.

This commit is contained in:
Martin Whitaker 2019-11-09 16:34:36 +00:00
parent 58aa08ab64
commit 39238fd1cd
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2011-2018 Cary R. (cygcary@yahoo.com) * Copyright (C) 2011-2019 Cary R. (cygcary@yahoo.com)
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -138,6 +138,8 @@ static expr_sign_t expr_get_unary_sign_type(ivl_expr_t expr)
case 'X': case 'X':
/* The reduction operators always act as if the argument is /* The reduction operators always act as if the argument is
* unsigned. */ * unsigned. */
case '!':
/* The logical negation operator works on either type. */
break; break;
case 'r': case 'r':
/* For a cast to real the expression should be signed and no /* For a cast to real the expression should be signed and no