summaryrefslogtreecommitdiff
path: root/src/parsetree.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-07-01 20:38:42 -0400
committerAdrian Thurston <thurston@complang.org>2012-07-01 20:38:42 -0400
commit5bdf8bfcb05dde0f89d291533378d1db38d9b975 (patch)
treea351a3c8f7ca8a4781b58228ed43b9ed4265d79b /src/parsetree.cc
parent024594868b14862744e990093ea061f20d48e55f (diff)
downloadcolm-5bdf8bfcb05dde0f89d291533378d1db38d9b975.tar.gz
using a cons function for Term
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r--src/parsetree.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/parsetree.cc b/src/parsetree.cc
index 496167e4..084ffbb8 100644
--- a/src/parsetree.cc
+++ b/src/parsetree.cc
@@ -610,8 +610,6 @@ FsmGraph *Join::walk( Compiler *pd )
Expression::~Expression()
{
switch ( type ) {
- case None:
- break;
case OrType: case IntersectType: case SubtractType:
case StrongSubtractType:
delete expression;
@@ -630,8 +628,6 @@ FsmGraph *Expression::walk( Compiler *pd, bool lastInSeq )
{
FsmGraph *rtnVal = 0;
switch ( type ) {
- case None:
- break;
case OrType: {
/* Evaluate the expression. */
rtnVal = expression->walk( pd, false );