mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Support missing xor-assign operator
Signed-off-by: Lukasz Dalek <ldalek@antmicro.com>
This commit is contained in:
parent
a5ca4eeefb
commit
a4b4c22c96
2 changed files with 10 additions and 1 deletions
|
@ -528,6 +528,7 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
|
|||
|
||||
"|=" { SV_KEYWORD(TOK_OR_ASSIGN); }
|
||||
"+=" { SV_KEYWORD(TOK_PLUS_ASSIGN); }
|
||||
"^=" { SV_KEYWORD(TOK_XOR_ASSIGN); }
|
||||
|
||||
[-+]?[=*]> {
|
||||
if (!specify_mode) REJECT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue