[fpc-devel] C++ linking questions
Paul Ishenin
webpirat at mail.ru
Sun Mar 21 14:28:25 CET 2010
21.03.2010 20:21, Sven Barth wrote:
>> 3. How can I parse a not reserved identifier? Checking "idtoken" for
>> "_ID", using it with "token" and after usage calling "consume(_ID);"?
>
>
> Usage is with "pattern" (all letters uppercase) or "orgpattern"
> (original casing) instead of "token"... the rest works as expected.
Why do you need this at all? If you want to parse "namespace" word then
just add it to the token list as
(str:'NAMESPACE' ;special:false;keyword:m_all;op:NOTOKEN)
Best regards,
Paul Ishenin.
More information about the fpc-devel
mailing list