mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-18 17:22:17 +00:00
verilog_location: rename location to Location to avoid conflict with Pass::location
This commit is contained in:
parent
5195f81257
commit
99ab73424d
8 changed files with 28 additions and 32 deletions
|
@ -502,7 +502,7 @@ struct VerilogFrontend : public Frontend {
|
|||
}
|
||||
|
||||
auto filename_shared = std::make_shared<std::string>(filename);
|
||||
auto top_loc = location();
|
||||
auto top_loc = Location();
|
||||
top_loc.begin.filename = filename_shared;
|
||||
parse_state.current_ast = new AST::AstNode(top_loc, AST::AST_DESIGN);
|
||||
VerilogLexer lexer(&parse_state, &parse_mode, filename_shared);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue