Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Extending grammar for microcontroller C
Extending grammar for microcontroller C [message #722378] Mon, 05 September 2011 14:59 Go to next message
sza2 Missing name is currently offline sza2 Missing nameFriend
Messages: 2
Registered: September 2011
Junior Member
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 15:00]

Report message to a moderator

Re: Extending grammar for microcontroller C [message #723780 is a reply to message #722378] Fri, 09 September 2011 13:02 Go to previous message
Daniel Calcoen is currently offline Daniel CalcoenFriend
Messages: 5
Registered: August 2011
Location: Switzerland
Junior Member
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: Thu Sep 19 09:35:39 GMT 2024

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

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

Back to the top