From: Sven R. <rei...@ma...> - 2002-10-24 16:00:26
|
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. 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 = "//"; These examples are not as exotic as they appear; I have certainly written programs in the past which print out "//". 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.) Cheers, Sven. -- Sven Reichard Dept. of Math. Sci. University of Delaware rei...@ma... |