diff options
| author | Julian Blake Kongslie | 2022-06-25 18:56:44 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-06-25 18:56:44 -0700 |
| commit | 968414044e87be7399f73a01b718b4894bb65e01 (patch) | |
| tree | b4ce807d1645d68589028213d9b08d0b496c1b85 /main.cpp | |
| parent | Testing some actual support for destinations and custom steps. (diff) | |
| download | issim-968414044e87be7399f73a01b718b4894bb65e01.tar.xz | |
Move EvalState and the eval coroutines to a separate header.
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -3,6 +3,7 @@ | |||
| 3 | #include <optional> | 3 | #include <optional> |
| 4 | 4 | ||
| 5 | #include "aisa/aisa.h" | 5 | #include "aisa/aisa.h" |
| 6 | #include "aisa/eval.h" | ||
| 6 | #include "git-tag.h" | 7 | #include "git-tag.h" |
| 7 | 8 | ||
| 8 | int main(int argc, const char *argv[]) | 9 | int main(int argc, const char *argv[]) |
| @@ -63,7 +64,7 @@ int main(int argc, const char *argv[]) | |||
| 63 | 64 | ||
| 64 | std::cout << "\n\n\n"; | 65 | std::cout << "\n\n\n"; |
| 65 | 66 | ||
| 66 | auto w = step.eval(state); | 67 | auto w = state.eval(step); |
| 67 | std::cout << "run\n"; w(); | 68 | std::cout << "run\n"; w(); |
| 68 | std::cout << "run\n"; w(); | 69 | std::cout << "run\n"; w(); |
| 69 | std::cout << "run\n"; w(); | 70 | std::cout << "run\n"; w(); |
