Re: [PATCH] substitute with $&, $0

"Mark F. Murphy" <[email protected]>
Newsgroups gmane.comp.jakarta.oro.devel
Message-ID <p05101512b8b7bbffbb78@[192.168.100.8]>
At 4:36 PM -0500 3/14/02, Daniel F. Savarese wrote:
>The patch had a bug right here though:
>+	} else {
>+	  if (c == '&') {
>+	    posParam = 0;
>+	    current++;
>+	  }
>so I changed it, but after some more testing (didn't someone offer to
>write some unit tests????) I noticed a subtle bug in the change I made
>so I changed it again.

I hope that area of code was clear and not confusing (thus causing the bug).

mark

-- 
---------------------------------------------------------------------------
  Mark F. Murphy, Director Software Development   <mailto:[email protected]>
  Tyrell Software Corp                            <http://www.tyrell.com>
---------------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[email protected]>
For additional commands, e-mail: <mailto:[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.