aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-31 20:23:24 +0000
committerDavid Robillard <d@drobilla.net>2010-12-31 20:23:24 +0000
commit4132dc03beb1c636a3d4b7df81700fe02a4cf70d (patch)
tree7cca1d81264f2370534b5411e8c4d1f73494998a /src/resp.hpp
parent733e4d61c811dfec32953df51b7e57f853307a9b (diff)
downloadresp-4132dc03beb1c636a3d4b7df81700fe02a4cf70d.tar.gz
resp-4132dc03beb1c636a3d4b7df81700fe02a4cf70d.tar.bz2
resp-4132dc03beb1c636a3d4b7df81700fe02a4cf70d.zip
Only compile symbols once (cache compiled symbol values specially for this).
Working pattern matching / deconstruction when object is a function parameter. git-svn-id: http://svn.drobilla.net/resp/resp@396 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/resp.hpp')
-rw-r--r--src/resp.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resp.hpp b/src/resp.hpp
index 4217f6d..7de26d8 100644
--- a/src/resp.hpp
+++ b/src/resp.hpp
@@ -777,6 +777,9 @@ struct CEnv {
map<string,string> args;
+ typedef map<const char*, CVal> CSyms;
+ CSyms cSyms;
+
CFunc currentFn; ///< Currently compiling function
bool repl;