3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-11 21:50:54 +00:00

Changes for bison < 3.6

Includes fix for double quoted tokens in syntax errors.
This commit is contained in:
Krystine Sherwin 2025-06-25 10:15:51 +12:00
parent fd463f9597
commit 675a5744fa
No known key found for this signature in database
3 changed files with 11 additions and 4 deletions

View file

@ -25,7 +25,7 @@ namespace VERILOG_FRONTEND {
// get rid of override virtual function warning
using FlexLexer::yylex;
parser::symbol_type terminate() {
return parser::make_FRONTEND_VERILOG_YYEOF(out_loc);
return parser::symbol_type(0, std::move(out_loc));
}
private:
std::shared_ptr<std::string> current_filename;