3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Fixed handling of [a-fxz?] in decimal constants

This commit is contained in:
Clifford Wolf 2015-08-11 11:32:37 +02:00
parent 2185125760
commit 45ee2ba3b8
2 changed files with 11 additions and 2 deletions

View file

@ -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, ',');