Bugfix in comment handling

This commit is contained in:
Clifford Wolf 2016-12-13 13:48:09 +01:00
parent a61c88f122
commit 00761de1b7
1 changed files with 1 additions and 1 deletions

View File

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