Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2012-02

PParser.IsTokenHint deserves an update

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans-Peter Diettrich

The extended syntax of hint tokens should be reflected in IsTokenHint. See oldlinux.pp:

   unit oldlinux deprecated 'Use Baseunix/Unix';

Perhaps it's sufficient to skip the next token after an hint, when it is a string literal? Dunno about the concrete syntax changes...

DoDi

Reply by email

Unknown author
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote 6 lines
The extended syntax of hint tokens should be reflected in IsTokenHint. See oldlinux.pp: unit oldlinux deprecated 'Use Baseunix/Unix'; Perhaps it's sufficient to skip the next token after an hint, when it is a string literal? Dunno about the concrete syntax changes...

I have this fixed locally, but it is not yet committed.

Michael.

Reply by email