I just wanted to suggest a 'wordfile' for SED, i.e. a file in which all the keywords that get highlighted are listed. At the moment, you can add/remove/edit keywords through SED's configuration menu, but it seems that these settings are often ignored when using Lite-C. In addition, consider this example:
Code:

#define sometype int
sometype main ()
{
return( 0 );
}


Here, SED wouldn't recognize "main()" as a function (since it has been defined with "sometype") and thus wouldn't highlight it as expected. It seems that SED's regular expression patterns are hard-coded so SED looks for "function" no matter whether "function" and "sometype" are indeed identical due to the pre-processor definition. With the help of a 'wordfile', SED could "look up" the appropriate keyword and highlight the term accordingly.

Any thoughts about this?


Formerly known as The Matrix - ICQ 170408644 I've been here for much longer than most people think. So where's my "Expert" status?