3
0
Fork 0
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:
Clifford Wolf 2014-08-23 15:03:55 +02:00
parent 5dce303a2a
commit 19cff41eb4
22 changed files with 116 additions and 89 deletions

View file

@ -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