mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 18:45:34 +00:00
Changed frontend-api from FILE to std::istream
This commit is contained in:
parent
5dce303a2a
commit
19cff41eb4
22 changed files with 116 additions and 89 deletions
|
@ -63,6 +63,9 @@ YOSYS_NAMESPACE_END
|
|||
frontend_verilog_yylval.string = new std::string(std::string("\\") + yytext); \
|
||||
return TOK_ID;
|
||||
|
||||
#define YY_INPUT(buf,result,max_size) \
|
||||
result = lexin->readsome(buf, max_size);
|
||||
|
||||
%}
|
||||
|
||||
%option yylineno
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue