Skip to content

Commit ded7550

Browse files
committed
release v26.2.14
1 parent 6cc3bd5 commit ded7550

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
## [Unreleased]
22

3+
## v26.2.14
4+
35
### Enhancements
46

57
* Support `dif`, `dir` and `lex` in formula generation
68
* Support `bin` (binomial coefficient) in LEAN formula generation
9+
* Improve `nrt` range computation
710
* Enhance `check` command to verify program offset
11+
* Add `export-formulas` to release build
812

913
## v26.1.25
1014

src/cmd/main.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ int dispatch(Settings settings, const std::vector<std::string>& args) {
183183
else if (cmd == "boinc") {
184184
commands.boinc();
185185
}
186+
// hidden export-formulas command
187+
else if (cmd == "export-formulas") {
188+
std::string output_file;
189+
if (args.size() > 1) {
190+
output_file = args.at(1);
191+
}
192+
commands.exportFormulas(output_file);
193+
}
186194
#ifdef _WIN64
187195
// hidden helper command for updates on windows
188196
else if (cmd == "update-windows-executable") {
@@ -299,12 +307,6 @@ int dispatch(Settings settings, const std::vector<std::string>& args) {
299307
commands.compare(args.at(1), args.at(2));
300308
} else if (cmd == "replace") {
301309
commands.replace(args.at(1), args.at(2));
302-
} else if (cmd == "export-formulas") {
303-
std::string output_file;
304-
if (args.size() > 1) {
305-
output_file = args.at(1);
306-
}
307-
commands.exportFormulas(output_file);
308310
} else if (cmd == "auto-fold") {
309311
commands.autoFold();
310312
} else if (cmd == "add-programs") {

0 commit comments

Comments
 (0)