diff options
author | Adrian Thurston <thurston@complang.org> | 2012-05-21 12:49:44 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-05-21 12:49:44 -0400 |
commit | bc21bf772a661e872740b57ec07c5b57ac5359a1 (patch) | |
tree | ee7749b5dcd2c51daf0d3a6bf3f4901e46ad71a1 /colm/pdarun.c | |
parent | d7360a8e4cdae572b06563eac5d6c21d57621d65 (diff) | |
download | colm-bc21bf772a661e872740b57ec07c5b57ac5359a1.tar.gz |
ongoing refactoring cleanup
Removed sp from the pushIgnore functions. Need to use it in contexts where it
is not currently available. Actually not needed because we can directly access
refs when trees are moved around during the push.
Diffstat (limited to 'colm/pdarun.c')
-rw-r--r-- | colm/pdarun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/colm/pdarun.c b/colm/pdarun.c index a806ac5e..8b3d5f87 100644 --- a/colm/pdarun.c +++ b/colm/pdarun.c @@ -587,7 +587,7 @@ static void attachRightIgnore( Program *prg, Tree **sp, PdaRun *pdaRun, ParseTre Tree *pushTo = parseTree->shadow->tree; - pushTo = pushRightIgnore( prg, sp, pushTo, rightIgnore ); + pushTo = pushRightIgnore( prg, pushTo, rightIgnore ); parseTree->shadow->tree = pushTo; @@ -642,7 +642,7 @@ static void attachLeftIgnore( Program *prg, Tree **sp, PdaRun *pdaRun, ParseTree Tree *pushTo = parseTree->shadow->tree; - pushTo = pushLeftIgnore( prg, sp, pushTo, leftIgnore ); + pushTo = pushLeftIgnore( prg, pushTo, leftIgnore ); parseTree->shadow->tree = pushTo; |