On Mon, 30 Dec 2013, Torsten Bonde Christiansen wrote:

On 2013-12-30 14:33, Michael Van Canneyt wrote:

On Mon, 30 Dec 2013, Michael Van Canneyt wrote:


On Mon, 30 Dec 2013, Torsten Bonde Christiansen wrote:


Bug reported as:
http://bugs.freepascal.org/view.php?id=25469

Including patch and program with test.

Thank you, I will have a look ASAP.

The test program compiles and runs fine without a patch applied.
What am I supposed to see ?
For me it still fails at parsing line no 31, however the problem is in PScanner.pp:1400.

The Result (TToken) variable is not set at any point, hence with your compilation it may return a valid result, but mine fails.

That would be very surprising, actually.


I believe my patch still applies, so please take a look the PScanner.pp code before ruling it out.

I'm not ruling out anything, just being careful :)

Anyway, I applied a modified version of your patch. Test results remain correct.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to