System.out still occurs after errClear
Fixed in version 1.9.2.
Temporary fix: modify top parsing procedure in the generated parser. (In this case "RegularExpression".) Replace "return accept()" by "return true" and "return reject()" by "return false".
This is a bug in the logic. The reject() called after failure() cancels the effect of errClear(). Working on a solution. (My two preceding entries result from an attemp to use e-mail; can be ignored.)
On 2017-11-25 20:36, Adam Retter wrote: [patches:#2] https://sourceforge.net/p/mousepeg/patches/2/ System.out still occurs after errClear Status: open Group: Unstable_(example) Created: Sat Nov 25, 2017 07:36 PM UTC by Adam Retter Last Updated: Sat Nov 25, 2017 07:36 PM UTC Owner: nobody I have found that |System.out.println| is still called in |BaseParser#closeParser(...)| even after I have tried to follow the instructions for |18.7 Own diagnostic output| in the PDF manual. My PEG looks like: regularExpression...
Hello Adam, Thanks for your report. Seems to be a bug, and I start looking at it. Sorry for reacting so late, but I have been away for a while. Best regards Roman On 2017-11-25 20:36, Adam Retter wrote: [patches:#2] https://sourceforge.net/p/mousepeg/patches/2/ System.out still occurs after errClear Status: open Group: Unstable_(example) Created: Sat Nov 25, 2017 07:36 PM UTC by Adam Retter Last Updated: Sat Nov 25, 2017 07:36 PM UTC Owner: nobody I have found that |System.out.println| is still called...
Status: open --> closed
Solved in Version 1.7.