diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-03-31 15:30:16 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-03-31 15:30:16 +0300 |
commit | c09da95d03cd3769173aa5e3af3e73aae8ae2be4 (patch) | |
tree | 5fa7ff6b6c0fd4e2f50ae754e2ae061b69c319a4 /src/GCodes/GCodeBuffer/StringParser.cpp | |
parent | 64ed2bdff2dd166a1a92f079c2bb124fcaf4dd54 (diff) |
Finished including global variables in object model
Diffstat (limited to 'src/GCodes/GCodeBuffer/StringParser.cpp')
-rw-r--r-- | src/GCodes/GCodeBuffer/StringParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodeBuffer/StringParser.cpp b/src/GCodes/GCodeBuffer/StringParser.cpp index 95311bf4..0f475797 100644 --- a/src/GCodes/GCodeBuffer/StringParser.cpp +++ b/src/GCodes/GCodeBuffer/StringParser.cpp @@ -427,7 +427,7 @@ bool StringParser::ProcessConditionalGCode(const StringRef& reply, BlockType ski break; case 3: - if (doingFile && StringStartsWith(command, "var")) + if (StringStartsWith(command, "var")) { ProcessVarOrGlobalCommand(false); return true; |