diff options
author | Adrian Thurston <thurston@complang.org> | 2012-07-01 20:38:42 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-07-01 20:38:42 -0400 |
commit | 5bdf8bfcb05dde0f89d291533378d1db38d9b975 (patch) | |
tree | a351a3c8f7ca8a4781b58228ed43b9ed4265d79b /src/parsetree.cc | |
parent | 024594868b14862744e990093ea061f20d48e55f (diff) | |
download | colm-5bdf8bfcb05dde0f89d291533378d1db38d9b975.tar.gz |
using a cons function for Term
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r-- | src/parsetree.cc | 4 |
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 ); |