From e6bb7b0782323f92568f1ebb816f31f9191cd211 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Fri, 7 Feb 2020 08:27:45 -0800 Subject: [PATCH] Fix misc.abc9.abc9_abc9_luts --- passes/techmap/abc9_exe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/techmap/abc9_exe.cc b/passes/techmap/abc9_exe.cc index 71221951c..d3db0065c 100644 --- a/passes/techmap/abc9_exe.cc +++ b/passes/techmap/abc9_exe.cc @@ -471,7 +471,7 @@ struct Abc9ExePass : public Pass { // handle -lut / -luts args if (!lut_arg.empty()) { string arg = lut_arg; - if (arg.find_first_not_of("0123456789:") == std::string::npos) { + if (arg.find_first_not_of("0123456789:,") == std::string::npos) { size_t pos = arg.find_first_of(':'); int lut_mode = 0, lut_mode2 = 0; if (pos != string::npos) {