mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 21:50:54 +00:00
verilog_location: rename location to Location to avoid conflict with Pass::location
This commit is contained in:
parent
65b53e6473
commit
20b2e47b42
8 changed files with 28 additions and 32 deletions
|
@ -5725,7 +5725,7 @@ bool RTLIL::SigSpec::parse(RTLIL::SigSpec &sig, RTLIL::Module *module, std::stri
|
|||
|
||||
if (('0' <= netname[0] && netname[0] <= '9') || netname[0] == '\'') {
|
||||
cover("kernel.rtlil.sigspec.parse.const");
|
||||
VERILOG_FRONTEND::ConstParser p{location()};
|
||||
VERILOG_FRONTEND::ConstParser p{Location()};
|
||||
auto ast = p.const2ast(netname);
|
||||
if (ast == nullptr)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue