mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-10 21:20:53 +00:00
verilog_lexer: refactor
This commit is contained in:
parent
50c5956187
commit
6f2053fc90
1 changed files with 1 additions and 1 deletions
|
@ -19,8 +19,8 @@ namespace VERILOG_FRONTEND {
|
|||
class VerilogLexer : public frontend_verilog_yyFlexLexer {
|
||||
ParseState* extra;
|
||||
ParseMode* mode;
|
||||
parser::location_type out_loc;
|
||||
public:
|
||||
parser::location_type out_loc; // TODO private?
|
||||
VerilogLexer(ParseState* e, ParseMode* m, std::shared_ptr<string> filename) : frontend_verilog_yyFlexLexer(e->lexin), extra(e), mode(m) {
|
||||
out_loc.begin.filename = filename;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue