aboutsummaryrefslogtreecommitdiffstats
path: root/var.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'var.hpp')
-rw-r--r--var.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/var.hpp b/var.hpp
index 1ffb8b8..3a5665c 100644
--- a/var.hpp
+++ b/var.hpp
@@ -36,6 +36,7 @@ struct Var {
static Var lookup(const std::string& name, int skip = 0);
static Var lookupLocal(const std::string& name);
+ static void rename(const std::string& old, const std::string& neww, int skip = 0);
static void pushScope();
static void popScope();
static Var& addGlobal(const std::string& name, Var var);