mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
Add plus-assignment operator
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
This commit is contained in:
parent
416a66aee8
commit
22408f24c7
2 changed files with 10 additions and 1 deletions
|
@ -527,6 +527,7 @@ 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_PLUS_ASSIGN); }
|
||||
|
||||
[-+]?[=*]> {
|
||||
if (!specify_mode) REJECT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue