use extra_args
authorN. Engelhardt <nak@symbioticeda.com>
Wed, 18 Dec 2019 11:30:30 +0000 (12:30 +0100)
committerN. Engelhardt <nak@symbioticeda.com>
Wed, 18 Dec 2019 11:30:30 +0000 (12:30 +0100)
passes/cmds/scratchpad.cc

index 805badc7ea3f8f551c8885f2e8afc78b0f626ba8..7ec55b78ebe78eb1b956e6570e091733e754c295 100644 (file)
@@ -122,9 +122,9 @@ struct ScratchpadPass : public Pass {
                                        log_error("Assertion failed: scratchpad entry '%s' is defined\n", identifier.c_str());
                                continue;
                        }
-                       log("Unrecognized argument: %s\n", args[argidx].c_str());
                        break;
                }
+               extra_args(args, argidx, design, false);
        }
 } ScratchpadPass;
 PRIVATE_NAMESPACE_END