aboutsummaryrefslogtreecommitdiff
path: root/gui/eval.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/eval.h')
-rw-r--r--gui/eval.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/eval.h b/gui/eval.h
index fc4f12c11d..799a6f74e8 100644
--- a/gui/eval.h
+++ b/gui/eval.h
@@ -56,11 +56,11 @@ public:
int eval(const String &input, const String &section, const String &name, int startpos);
void setAlias(const String &section, const String name, const String value);
- void setVariable(const String &section, const String name, const String value);
+ void setVar(const String &section, const String name, const String value);
void setParent(const String name);
- void setVariable(const String name, int val) { _vars[name] = val; }
+ void setVar(const String name, int val) { _vars[name] = val; }
void setAlias(const String name, const String val) { _aliases[name] = val; }
int getVar(String s) { return getVar_(s.c_str()); };
@@ -82,6 +82,7 @@ private:
void exprError(int error);
int getVar_(const char *s, bool includeAliases = true);
int getBuiltinVar(const char *s);
+ void loadConstants();
char _input[256];
String _section;