mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 03:15:50 +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
|
@ -29,9 +29,12 @@
|
|||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
#endif
|
||||
|
||||
#include "kernel/rtlil.h"
|
||||
#include "ilang_frontend.h"
|
||||
#include "parser.tab.h"
|
||||
|
||||
#define YY_INPUT(buf,result,max_size) \
|
||||
result = ILANG_FRONTEND::lexin->readsome(buf, max_size);
|
||||
|
||||
%}
|
||||
|
||||
%option yylineno
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue