Thanks for the hint Christian.

I will have a look at this next time, but unfortunately have to solve 
some computer problems first :(

Best regards,
André

Am 01.09.2011 08:33, schrieb Christian Kamm:
> On Wednesday 31 August 2011 13:44:00 ext André Hartmann wrote:
>> Hello List,
>>
>> We use QtCreator for our Microcontroller development with generic projects.
>>
>> Our embedded C compiler (www.cosmic-software.com) uses non-standard
>> keywords/modifiers like @far or @near to generate code for functions, e.g.:
>>
>> @far void someFunc(void)
>> {
>>      // ...
>> }
>>
>> Because of the "@far", all our functions are marked with "expected a
>> declaration" and a red underline (which is OK in point of view of Creator).
>
> There's no easy way to do it. You'll have to modify the Creator source code.
>
> Hint: The lexer already treats some ObjectiveC @keywords. Look at
> Lexer.cpp:579. Maybe simply not creating tokens for any @identifier would work
> for what you want.
>
> Regards,
> Christian
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to