diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-12-13 13:48:09 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-12-13 13:48:09 +0100 |
commit | 00761de1b7c59868c875312cc4ef330e97a2a4de (patch) | |
tree | ce795c908c65115698c3448989501e388c16bcfa /kernel | |
parent | a61c88f12215eb8bfa1db62aec7c2c95bb3cc702 (diff) | |
download | yosys-00761de1b7c59868c875312cc4ef330e97a2a4de.tar.gz yosys-00761de1b7c59868c875312cc4ef330e97a2a4de.tar.bz2 yosys-00761de1b7c59868c875312cc4ef330e97a2a4de.zip |
Bugfix in comment handling
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/register.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/register.cc b/kernel/register.cc index 7a1d0b44b..983577682 100644 --- 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') |