mirror of https://github.com/YosysHQ/yosys.git
Bugfix in comment handling
This commit is contained in:
parent
a61c88f122
commit
00761de1b7
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue