Boost logo

Boost :

From: Leo Davis (ldavis_at_[hidden])
Date: 2007-03-23 14:04:42


Hello,

I'm getting a lexing error when I run the attached file though the
cpp_tokens sample. This happened in boost 1.33.1 and with the current
boost from CVS. From the output of the program, it seems that it's
missing the second double quote in the assignment:

matched STRINGLIT (#391) at foo.c ( 5/ 5): >"xxxx\\" BAR "<

Leo


#define BAR "bar"
#define BAZ "baz"

const char* foo =
        "xxxx\\" BAR "\\xxxx\\" BAZ;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk