Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ObjectModel')
-rw-r--r--src/ObjectModel/Variable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ObjectModel/Variable.h b/src/ObjectModel/Variable.h
index e107faaa..2b104608 100644
--- a/src/ObjectModel/Variable.h
+++ b/src/ObjectModel/Variable.h
@@ -47,6 +47,7 @@ public:
Variable *Lookup(const char *_ecv_array str) noexcept;
const Variable *Lookup(const char *_ecv_array str) const noexcept;
void InsertNew(const char *str, ExpressionValue pVal, int8_t pScope) noexcept;
+ void InsertNewParameter(const char *str, ExpressionValue pVal) noexcept { InsertNew(str, pVal, -1); }
void EndScope(uint8_t blockNesting) noexcept;
void Delete(const char *str) noexcept;
void Clear() noexcept;