summaryrefslogtreecommitdiff
path: root/colm/parsetree.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-02-24 16:40:59 -0500
committerAdrian Thurston <thurston@complang.org>2013-02-24 16:40:59 -0500
commitf63030a1ebba9a1df3ff0bf40c6ecb629cd39a82 (patch)
treea876079875e0845edde94105ac35d41d09f1e87a /colm/parsetree.h
parent0912d75693171ec6ee29c17203c2a207c997880a (diff)
downloadcolm-f63030a1ebba9a1df3ff0bf40c6ecb629cd39a82.tar.gz
removed codeBlock from tokenInstance, using token def
Diffstat (limited to 'colm/parsetree.h')
-rw-r--r--colm/parsetree.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/colm/parsetree.h b/colm/parsetree.h
index f14ba194..7c98af73 100644
--- a/colm/parsetree.h
+++ b/colm/parsetree.h
@@ -461,7 +461,7 @@ struct TokenInstance
static TokenInstance *cons( TokenDef *tokenDef, const String &name,
const String &literal,
- LexJoin *join, CodeBlock *codeBlock, const InputLoc &semiLoc,
+ LexJoin *join, const InputLoc &semiLoc,
int longestMatchId, Namespace *nspace, TokenRegion *tokenRegion,
ReCaptureVect *pReCaptureVect, ObjectDef *objectDef, Context *contextIn )
{
@@ -472,7 +472,6 @@ struct TokenInstance
t->literal = literal;
t->join = join;
t->action = 0;
- t->codeBlock = codeBlock;
t->semiLoc = semiLoc;
t->longestMatchId = longestMatchId;
t->inLmSelect = false;
@@ -495,7 +494,6 @@ struct TokenInstance
String literal;
LexJoin *join;
Action *action;
- CodeBlock *codeBlock;
InputLoc semiLoc;
Action *setActId;