Fix bug in parser optimizer whereby local bindings for the buffer
authorTaylor R. Campbell <net/mumble/campbell>
Mon, 24 Oct 2005 05:07:38 +0000 (05:07 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Mon, 24 Oct 2005 05:07:38 +0000 (05:07 +0000)
commitb56ddae388d08a1c97ff2a114332ef13a8a66a16
tree821d0616192e154325bd64c58f59f83cb12a57c9
parent63b45632a157dc6ccaf138e469271bb399ffcd8d
Fix bug in parser optimizer whereby local bindings for the buffer
pointer would be eliminated due to ostensible lack of reference, even
if the user code contained references to them, because the reference
counter won't descend into the user code.  Also, reintroduce the new
rule, which was previously removed, for turning redundant bindings of
the buffer pointer into aliases.  Cases affected independently by each
optimization should now be covered correctly & safely.
v7/src/star-parser/shared.scm