projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61c88f
)
Bugfix in comment handling
author
Clifford Wolf
<clifford@clifford.at>
Tue, 13 Dec 2016 12:48:09 +0000
(13:48 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 13 Dec 2016 12:48:09 +0000
(13:48 +0100)
kernel/register.cc
patch
|
blob
|
history
diff --git
a/kernel/register.cc
b/kernel/register.cc
index 7a1d0b44b4ec839fa7b5004e43ae2c6662bead9b..983577682121c7b03d8cf87bf1a2a31fc82a9a84 100644
(file)
--- a/
kernel/register.cc
+++ b/
kernel/register.cc
@@
-173,7
+173,7
@@
void Pass::call(RTLIL::Design *design, std::string command)
}
while (!tok.empty()) {
- if (tok
== "#"
) {
+ if (tok
[0] == '#'
) {
int stop;
for (stop = 0; stop < GetSize(cmd_buf); stop++)
if (cmd_buf[stop] == '\r' || cmd_buf[stop] == '\n')