diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-06-04 20:06:53 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-06-04 20:06:53 +0300 |
commit | 18626db77266e1b5014736a4dce9317a5a7e8a63 (patch) | |
tree | a15902e460a0d278e4facb0185d2b7dc7e375e65 /src/GCodes/GCodeMachineState.h | |
parent | c2f540aa1a0d227d4839062784147cae56c9c1e1 (diff) |
Bug fix: when a macro was aborted the error message was lost
Diffstat (limited to 'src/GCodes/GCodeMachineState.h')
-rw-r--r-- | src/GCodes/GCodeMachineState.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GCodes/GCodeMachineState.h b/src/GCodes/GCodeMachineState.h index b6f47e6c..31fafdbe 100644 --- a/src/GCodes/GCodeMachineState.h +++ b/src/GCodes/GCodeMachineState.h @@ -191,6 +191,7 @@ public: inline void AdvanceState() noexcept { state = static_cast<GCodeState>(static_cast<uint8_t>(state) + 1); } GCodeMachineState *GetPrevious() const noexcept { return previous; } + GCodeMachineState *Pop() const noexcept; uint8_t GetBlockNesting() const noexcept { return blockNesting; } VariableSet variables; // local variables and parameters |