mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-13 01:16:16 +00:00
Revert "verilog: specify polarity to be separate token"
This reverts commit 2122e0d053de659d5264500dc18965ba10013590.
This commit is contained in:
parent
ddbe81df78
commit
5084fa9d8a
2 changed files with 12 additions and 19 deletions
|
@ -518,12 +518,7 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
|
|||
|
||||
".*" { return TOK_WILDCARD_CONNECT; }
|
||||
|
||||
[+-] {
|
||||
if (!specify_mode) REJECT;
|
||||
frontend_verilog_yylval.ch = yytext[0];
|
||||
return TOK_SPECIFY_POL;
|
||||
}
|
||||
[=*]> {
|
||||
[-+]?[=*]> {
|
||||
if (!specify_mode) REJECT;
|
||||
yylval->string = new std::string(yytext);
|
||||
return TOK_SPECIFY_OPER;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue