On Wed, Oct 8, 2008 at 22:06, Mattias Gärtner <[EMAIL PROTECTED]> wrote:

>> So my question is -- how do I reuse them to create IsKeyword function?
>> Or is it better to just create a separate keyword list, similar to
>> e.g. SynHighlighterPython?

> Some words like 'end' depends on the context, if they are a keyword or an
> identifier.
> Please define IsKeyword.

Hm. This does not answer my question, so I suppose I have to decide myself ;-)
Here is simplified patch, which ignores context-sensitive modifiers for now.
Reserved word lists taken from FPC Reference Guide.

-- 
Alexander S. Klenin
Insight Experts Ltd.

Attachment: synpas_is_keyword.patch
Description: Binary data

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to