Page 1 of 1

An argument that will pass a comment-less source to a tool

Posted: Sat Dec 08, 2007 7:35 am
by Mistrel
I want to check my source for particular keywords and perform an action if they are present in the source. It would be convenient if I could comment these keywords out in my source to prevent my tool from picking them up.

I can try but I don't know how to filter all of the cases where characters to the right of a ';' may or may not be part of a comment.

Right now my tool just checks to see if there is a ';' to the left of a keyword. I think that's ok.