mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
ignore protect endprotect
This commit is contained in:
parent
9850de405a
commit
097da32e1a
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,9 @@ YOSYS_NAMESPACE_END
|
||||||
frontend_verilog_yyerror("Unsupported default nettype: %s", p);
|
frontend_verilog_yyerror("Unsupported default nettype: %s", p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"`protect"[^\n]* /* ignore `protect*/
|
||||||
|
"`endprotect"[^\n]* /* ignore `endprotect*/
|
||||||
|
|
||||||
"`"[a-zA-Z_$][a-zA-Z0-9_$]* {
|
"`"[a-zA-Z_$][a-zA-Z0-9_$]* {
|
||||||
frontend_verilog_yyerror("Unimplemented compiler directive or undefined macro %s.", yytext);
|
frontend_verilog_yyerror("Unimplemented compiler directive or undefined macro %s.", yytext);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue