3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 21:27:00 +00:00

verilog_lexer: fix fallthrough warning

This commit is contained in:
Emil J. Tywoniak 2025-07-19 22:53:02 +02:00
parent 588c5d5a57
commit 6b59d05282

View file

@ -67,7 +67,7 @@ YOSYS_NAMESPACE_BEGIN
#define YY_DECL parser::symbol_type VerilogLexer::nextToken()
#undef yyterminate
#define yyterminate() terminate()
#define yyterminate() return terminate()
YOSYS_NAMESPACE_END