3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-19 19:02:04 +00:00

ast, read_verilog: refactoring

This commit is contained in:
Emil J. Tywoniak 2025-06-18 12:39:32 +02:00
parent 31002cf259
commit 88800a16ea
7 changed files with 16 additions and 21 deletions

View file

@ -8,7 +8,8 @@
YOSYS_NAMESPACE_BEGIN
namespace VERILOG_FRONTEND {
// lexer input stream
[[noreturn]]
extern void verr_at(std::string filename, int begin_line, char const *fmt, va_list ap);
using parser = frontend_verilog_yy::parser;
class VerilogLexer : public frontend_verilog_yyFlexLexer {
ParseState* extra;