mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-25 13:47:02 +00:00
Support missing sub-assign and and-assign operators
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
This commit is contained in:
parent
f6d06c9f7b
commit
539087f417
2 changed files with 21 additions and 2 deletions
|
@ -527,7 +527,9 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
|
|||
".*" { return TOK_WILDCARD_CONNECT; }
|
||||
|
||||
"|=" { SV_KEYWORD(TOK_OR_ASSIGN); }
|
||||
"&=" { SV_KEYWORD(TOK_AND_ASSIGN); }
|
||||
"+=" { SV_KEYWORD(TOK_PLUS_ASSIGN); }
|
||||
"-=" { SV_KEYWORD(TOK_SUB_ASSIGN); }
|
||||
"^=" { SV_KEYWORD(TOK_XOR_ASSIGN); }
|
||||
|
||||
[-+]?[=*]> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue