aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gowin/main.cc')
-rw-r--r--gowin/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gowin/main.cc b/gowin/main.cc
index c845821d..308be4d3 100644
--- a/gowin/main.cc
+++ b/gowin/main.cc
@@ -57,7 +57,7 @@ std::unique_ptr<Context> GowinCommandHandler::createContext(std::unordered_map<s
std::regex devicere = std::regex("GW1N([A-Z]*)-(LV|UV)([0-9])([A-Z]{2}[0-9]+)(C[0-9]/I[0-9])");
std::smatch match;
std::string device = vm["device"].as<std::string>();
- if(!std::regex_match(device, match, devicere)) {
+ if (!std::regex_match(device, match, devicere)) {
log_error("Invalid device %s\n", device.c_str());
}
ArchArgs chipArgs;