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:
parent
fd463f9597
commit
675a5744fa
3 changed files with 11 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue