Boost logo

Boost Users :

From: elviin (elviin_at_[hidden])
Date: 2006-01-02 10:04:03

Hello Boost users.

I'd like to know if anyone was solving the following problem.
I tried to use comment_p("//") in this way:

    rule_t r =

This works for me except this case:

C++ code:

else if (szMethodName == "the test //") open(tCallParams, tAction);

Problem is caused by the string "the test //". Then the source is
parsed in the wrong way because

//") open(tCallParams, tAction);

is assumed as comment.

I think I should select an allowed segment where // is valid.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at