mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-10 16:13:26 +00:00
Add or-assignment operator
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
This commit is contained in:
parent
0835a86e30
commit
416a66aee8
2 changed files with 11 additions and 1 deletions
|
@ -526,6 +526,8 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
|
|||
|
||||
".*" { return TOK_WILDCARD_CONNECT; }
|
||||
|
||||
"|=" { SV_KEYWORD(TOK_OR_ASSIGN); }
|
||||
|
||||
[-+]?[=*]> {
|
||||
if (!specify_mode) REJECT;
|
||||
yylval->string = new std::string(yytext);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue