diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-12 18:34:34 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-12 18:34:34 +0200 |
commit | 856760599e51bd4c6da34112c993dc8bfb995f36 (patch) | |
tree | 02ea7d93a960eb5d177b7a9301693710b6724884 /ice40 | |
parent | d9b0bac248a12466cd2b62d02ec11b2e60d25019 (diff) | |
download | nextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.tar.gz nextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.tar.bz2 nextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.zip |
Use properties for settings and save in json
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/pcf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/pcf.cc b/ice40/pcf.cc index a8273dd6..91935bee 100644 --- a/ice40/pcf.cc +++ b/ice40/pcf.cc @@ -116,7 +116,7 @@ bool apply_pcf(Context *ctx, std::string filename, std::istream &in) } } } - ctx->settings.emplace(ctx->id("input/pcf"), filename); + ctx->settings[ctx->id("input/pcf")] = filename; return true; } catch (log_execution_error_exception) { return false; |