projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f3e2c
)
Fixed parsing of select #x<num> operator
author
Clifford Wolf
<clifford@clifford.at>
Wed, 6 Mar 2013 18:01:08 +0000
(19:01 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 6 Mar 2013 18:01:08 +0000
(19:01 +0100)
kernel/select.cc
patch
|
blob
|
history
diff --git
a/kernel/select.cc
b/kernel/select.cc
index 3a3c3013f8b6b49af8b23329a86b609b8727ac9a..f2857d1bfb26af0ff2769a4dd847952dd269ba35 100644
(file)
--- a/
kernel/select.cc
+++ b/
kernel/select.cc
@@
-358,6
+358,7
@@
static void select_stmt(RTLIL::Design *design, std::string arg)
if (endpos == std::string::npos)
endpos = arg.size();
levels = atoi(arg.substr(pos, endpos-pos).c_str());
+ pos = endpos;
}
while (pos < arg.size()) {
if (arg[pos] != ':' || pos+1 == arg.size())