aboutsummaryrefslogtreecommitdiffstats
path: root/src/expand.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-27 22:48:00 +0000
committerDavid Robillard <d@drobilla.net>2010-12-27 22:48:00 +0000
commitcce4f16e87870eae8a1c3f430c9617cefd55fe54 (patch)
tree79dbeec5b3368045b36719b63d24ea1bc9ef150f /src/expand.cpp
parent1a8107c0156e1615fbdbe009f30d8e66cb280c03 (diff)
downloadresp-cce4f16e87870eae8a1c3f430c9617cefd55fe54.tar.gz
resp-cce4f16e87870eae8a1c3f430c9617cefd55fe54.tar.bz2
resp-cce4f16e87870eae8a1c3f430c9617cefd55fe54.zip
Remove weird __tag_is form by adding a T_LITSYM type and using = operator.
Step towards having first class symbols... git-svn-id: http://svn.drobilla.net/resp/resp@362 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/expand.cpp')
-rw-r--r--src/expand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand.cpp b/src/expand.cpp
index 020410e..eb508f1 100644
--- a/src/expand.cpp
+++ b/src/expand.cpp
@@ -113,7 +113,7 @@ initLang(PEnv& penv, TEnv& tenv)
{
// Types
const char* types[] = {
- "Bool", "Float", "Int", "Nothing", "Quote", "String", 0 };
+ "Bool", "Float", "Int", "Nothing", "Quote", "String", "Symbol", 0 };
for (const char** t = types; *t; ++t) {
const ASymbol* sym = penv.sym(*t);
tenv.def(sym, sym); // FIXME: define to NULL?