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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue