[Lxr-developer] greetings to the list, changes to the previous lxr (0.3), and what I'm up to w.r.t.
Brought to you by:
ajlittoz
|
From: Rusty C. <rca...@te...> - 2001-05-31 16:27:52
|
Well, I mistakenly sent the following to the old lxr-interest list
on lister.ping.uio.no, and having been redirected here thought
I'd say it here again... Sorry if you've already seen it over
on the other list!
<<<begin forwarded junk>>>>
Greetings, lxr-interest list!
(Sorry for the really long 'Subject:'!)
I joined a day or 2 ago and have seen nothing come along,
so figured I'd poke my head up and say "HI!".
<insert cute graphic here> Hi! ;-)
Anyway, on to more serious matters:
I've taken the previous version of lxr and made it work on
solaris using Netscape Commerce Server, if anyone cares ;-)
I joined the list to ask if anyone wanted the patches,
then I found out that lxr has changed since my changes, so
I suppose its 'never mind' time :-)
I also fixed it so that enums, structs, and unions were
correctly identified. The line in genxref that needs
changing looks like:
$contents =~ s/((struct|enum|union)\s+($ident|)\s*({}|(;)))/
and needs to say:
$contents =~ s/((struct|enum|union)\s+($ident)\s*({}|(;)))/
instead. I'm working on making it correctly identify the
identifiers inside the enum, since the below is perfectly legal
c/c++ syntax (but not parsed at all (it appears that everything
inside {} is thrown out - oh, well ;-) )
typedef enum {
ENUM1 = 2,
ENUM2 = 3
} an_enum;
With the above change it correctly highlights 'an_enum' but not
"ENUM1" or "ENUM2". As I say, I'm working on that, at the same
time that I'm going to try out the new lxr (from cvs last night)....
Anyway, Hello again to all, and now you know what I'm up to,
for what its worth...
rc
<<<end>>>
Now that I've discovered its at sourceforge, I'll get the latest
CVS from there (and/or maybe the stable) and try again... Maybe I won't
have to work on the enum thing ;-) (but I'm sure I'll end up wanting to add
SOMETHING to it ;-)
rc
Rusty Carruth Email: rca...@Te... or rca...@sl...
Voice: (480) 345-3621 SnailMail: Schlumberger ATE
FAX: (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
ICBM: 33 20' 44"N 111 53' 47"W
|