[fpc-pascal] fpc-passrc expression parser (issue #16914)

Michael Van Canneyt michael at freepascal.org
Thu Jul 15 10:25:48 CEST 2010



On Thu, 15 Jul 2010, dmitry boyarintsev wrote:

> On Tue, Jul 13, 2010 at 12:42 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>> I must say that I am not familiar with the parsing style you used. I wrote 2
>> expression parsers meanwhile, and both used a different style. see
>> fcl-base/fpexprpars.pp;
>
> um... I guess fpexprpars.pp could (should) be used with passrc in this case?!

You can't do this easily, because the scanners are not compatible. You'd
have to write a scanner wrapper.

> anyway, I've the patch for the current parser:
> http://bugs.freepascal.org/view.php?id=16931

I have seen it, I will look at it today.

Michael.



More information about the fpc-pascal mailing list