From: Baptiste L. <gai...@fr...> - 2002-10-24 18:01:21
|
----- Original Message ----- From: "Sven Reichard" <rei...@ma...> To: "CppTool Mailing List" <Cpp...@li...> Sent: Thursday, October 24, 2002 6:00 PM Subject: [Cpptool-develop] working on linux port > Folks, > > I'm working on the linux port. So far, the cppunit as included in our > package doesn't compile; I think a few files are missing. Hmm, I removed the examples directory. But the default 'make' probably try to some of the examples. I'll fix that later (by the way, it's version 1.9.10 of CppUnit) > About the parsing: As I said, I wrote a few tests for NonSemanticBlanker > (which I will commit after the linux port works), and found another > problem. It is about comments in strings or vice versa. The following will > not parse correctly: > > // use " to delimit strings > const char* text = "a string"; > > nor does the following: > > const char* beginCComment = "/*"; > const char* beginOneLineComment = "file://"; Well spotted. I wrote that piece of code a while ago (before that project) and never got around using it... > These examples are not as exotic as they appear; I have certainly written > programs in the past which print out "file://". It looks like you can't > separate blanking comments and blanking strings. (I would try and fix it > myself, but I want to have it compile first.) Fell free to fix it. Though, we could easily pass it in the 'known bugs' section for the time being (the probably of running into that isn't so big)... > Cheers, > Sven. > > -- > Sven Reichard > Dept. of Math. Sci. > University of Delaware > rei...@ma... |