Added support for ":" as comment symbol after ;-parsing
authorClifford Wolf <clifford@clifford.at>
Fri, 23 Oct 2015 18:08:33 +0000 (20:08 +0200)
committerClifford Wolf <clifford@clifford.at>
Fri, 23 Oct 2015 18:08:33 +0000 (20:08 +0200)
kernel/register.cc

index 6bcee8581a6cb2ae83ed5eee32a56e49a80240bf..49a67324dc337ae812151d4ed8601c37cdd170b6 100644 (file)
@@ -209,7 +209,7 @@ void Pass::call(RTLIL::Design *design, std::string command)
 
 void Pass::call(RTLIL::Design *design, std::vector<std::string> args)
 {
-       if (args.size() == 0 || args[0][0] == '#')
+       if (args.size() == 0 || args[0][0] == '#' || args[0][0] == ':')
                return;
 
        if (echo_mode) {