projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc95fb
)
Un-break default specify parser
author
Clifford Wolf
<clifford@clifford.at>
Sun, 21 Apr 2019 20:58:51 +0000
(22:58 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 23 Apr 2019 19:36:59 +0000
(21:36 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/verilog/verilog_lexer.l
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_lexer.l
b/frontends/verilog/verilog_lexer.l
index b73ccf5c1f19d30499fdc20d6d9a9e569ae72cbe..f49f9d3a29605041d28996e489b8bdf194e4fa75 100644
(file)
--- a/
frontends/verilog/verilog_lexer.l
+++ b/
frontends/verilog/verilog_lexer.l
@@
-412,6
+412,7
@@
import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
"-:" { return TOK_NEG_INDEXED; }
[-+]?[=*]> {
+ if (!specify_mode) REJECT;
frontend_verilog_yylval.string = new std::string(yytext);
return TOK_SPECIFY_OPER;
}