Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Extending grammar for microcontroller C
Extending grammar for microcontroller C [message #722378] Mon, 05 September 2011 10:59 Go to next message
Eclipse UserFriend
Hi,

I would like to use Eclipse/CDT to write codes for 8051 uC. There are keywords which not part of standard C, like interrupt, pdata, etc.

So when I use those:

int pdata pData;
void myinterrupt() interrupt 5 { ...

the editor thinks those are syntax errors. Of course code completion unusable from this point.

Is there a(n easy) way to extend the grammar to recognize these features?

Thanks,

/sza2

[Updated on: Mon, 05 September 2011 11:00] by Moderator

Re: Extending grammar for microcontroller C [message #723780 is a reply to message #722378] Fri, 09 September 2011 09:02 Go to previous message
Eclipse UserFriend
Try Colorer - http: // colorer.sourceforge.net /

they allow you to extend the syntax key words

at Help/Install New Software
add a new location
http: // colorer.sf.net/eclipsecolorer/
Previous Topic:internal error during c++ indexing - what to do?
Next Topic:Debugging problem in Helios
Goto Forum:
  


Current Time: Sun Jul 13 21:44:23 EDT 2025

Powered by FUDForum. Page generated in 0.05597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top