Parsing for C functions (answered)

New Message Reply Date view Thread view Subject view Author view

From: Alin Pilkington (AlinP@AOL.COM)
Date: 15 Sep 98, 01:41 EST


From: Alin Pilkington <AlinP@AOL.COM>
Subject: Parsing for C functions (answered)

Hi everyone,

I got a mail message from Cameron Laird over on the tcl news group
(yes...I embarrassed myself over there also...) and he pointed me in the
right direction. For some reason, I assummed (never, never never do that
again Alin!) that the parsing was being done on the entire file instead
of just a single line so that functions that had been commented out would
be skipped.

When I run the original pattern I posted earlier on a line by line basis,
it does properly find the function definitions but it also finds
functions being called (and functions commented out) so I'll need to add
a secondary step to filter the calls out. I believe (now that I'm
enlightened) that Alpha has to filter out these as well.

Thanks for your help and sorry to clutter up the list with my dumb
questions...

Alin Pilkington  :)


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:50 EST