diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-08-11 11:32:37 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-08-11 11:32:37 +0200 |
commit | 45ee2ba3b853ca2dd74931c193f12eb46c0e766f (patch) | |
tree | d1a3682bd863084b2157685fd1dc558a420b2fc9 /kernel/rtlil.cc | |
parent | 21851257608a502e4ab7e54d65100c4f2aa6fa33 (diff) | |
download | yosys-45ee2ba3b853ca2dd74931c193f12eb46c0e766f.tar.gz yosys-45ee2ba3b853ca2dd74931c193f12eb46c0e766f.tar.bz2 yosys-45ee2ba3b853ca2dd74931c193f12eb46c0e766f.zip |
Fixed handling of [a-fxz?] in decimal constants
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r-- | kernel/rtlil.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index abdd1ff8a..bd7f5c9f2 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -3280,6 +3280,10 @@ bool RTLIL::SigSpec::parse(RTLIL::SigSpec &sig, RTLIL::Module *module, std::stri { cover("kernel.rtlil.sigspec.parse"); + AST::current_filename = "input"; + AST::use_internal_line_num(); + AST::set_line_num(0); + std::vector<std::string> tokens; sigspec_parse_split(tokens, str, ','); |