[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Error in PiL3 in Listing 12.1 (page 121)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 24 May 2017 13:37:42 -0300
(Better late than never from my part...)
> On Sun, Jul 5, 2015 at 2:56 AM, Egor Skriptunoff wrote:
>
> > Function quote() gives incorrect result for some input strings, for
> > example "]]=]"
> > BTW, PiL2 contains correct (but not optimal) code for this function.
> >
>
> It seems that PiL4 has an error in the same function too.
> (Figure 15.1. Quoting arbitrary literal strings)
> Now quote("]]") gives wrong result.
Many thanks for the correction.
-- Roberto