summaryrefslogtreecommitdiff
path: root/colm/pdarun.c
diff options
context:
space:
mode:
Diffstat (limited to 'colm/pdarun.c')
-rw-r--r--colm/pdarun.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/colm/pdarun.c b/colm/pdarun.c
index af52cef0..549139c7 100644
--- a/colm/pdarun.c
+++ b/colm/pdarun.c
@@ -428,8 +428,8 @@ void ignoreTree( Program *prg, PdaRun *pdaRun, Tree *tree )
setRegion( pdaRun, emptyIgnore, pdaRun->accumIgnore );
}
-Kid *makeTokenWithData( Program *prg, PdaRun *pdaRun, FsmRun *fsmRun, InputStream *inputStream, int id,
- Head *tokdata, int namedLangEl, int bindId )
+Kid *makeTokenWithData( Program *prg, PdaRun *pdaRun, FsmRun *fsmRun,
+ InputStream *inputStream, int id, Head *tokdata )
{
/* Make the token object. */
long objectLength = prg->rtd->lelInfo[id].objectLength;
@@ -441,9 +441,6 @@ Kid *makeTokenWithData( Program *prg, PdaRun *pdaRun, FsmRun *fsmRun, InputStrea
debug( REALM_PARSE, "made token %p\n", input->tree );
- if ( namedLangEl )
- input->tree->flags |= AF_NAMED;
-
input->tree->refs = 1;
input->tree->id = id;
input->tree->tokdata = tokdata;
@@ -465,8 +462,6 @@ Kid *makeTokenWithData( Program *prg, PdaRun *pdaRun, FsmRun *fsmRun, InputStrea
}
}
- makeTokenPushBinding( pdaRun, bindId, input->tree );
-
return input;
}
@@ -837,7 +832,7 @@ static void sendToken( Program *prg, Tree **sp, InputStream *inputStream, FsmRun
updatePosition( inputStream, fsmRun->tokstart, tokdata->length );
- Kid *input = makeTokenWithData( prg, pdaRun, fsmRun, inputStream, id, tokdata, false, 0 );
+ Kid *input = makeTokenWithData( prg, pdaRun, fsmRun, inputStream, id, tokdata );
incrementSteps( pdaRun );