aboutsummaryrefslogtreecommitdiffstats
path: root/src/constrain.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/constrain.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/constrain.cpp')
-rw-r--r--src/constrain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/constrain.cpp b/src/constrain.cpp
index 39a0287..4bd6c08 100644
--- a/src/constrain.cpp
+++ b/src/constrain.cpp
@@ -394,6 +394,7 @@ resp_constrain(TEnv& tenv, Constraints& c, const AST* ast) throw(Error)
c.constrain(tenv, ast, tenv.named("String"));
break;
case T_SYMBOL:
+ case T_LITSYM:
constrain_symbol(tenv, c, ast->as_symbol());
break;
case T_TUPLE: