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

@ -149,7 +149,7 @@ parser::symbol_type char_tok(char c, parser::location_type loc) {
case 'p': return parser::make_TOK_p(loc);
case 'x': return parser::make_TOK_x(loc);
case 'z': return parser::make_TOK_z(loc);
case 0: return parser::make_FRONTEND_VERILOG_YYEOF(loc);
case 0: return parser::symbol_type(0, std::move(loc));
default:
return parser::make_ch_t(c, loc);
}