Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#4113 closed Bugs (fixed)

cpp_lexer does not handle qualified backslashes correctly

Reported by: Uwe Sander <usander@…> Owned by: Hartmut Kaiser
Milestone: Boost 1.43.0 Component: wave
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

The following string will trigger an error while getting parsed by SLex:

string PfadScript = "c:\\sample\\Test\\" + ScriptDir + "\\Script\\" + Script + ".gsr";

The lexer seems to think that the second " is quoted by the preceding backslash.

Change History (2)

comment:1 by Hartmut Kaiser, 13 years ago

Resolution: fixed
Status: newclosed

(In [61384]) Wave: fixed #4113: cpp_lexer does not handle qualified backslashes correctly

comment:2 by Hartmut Kaiser, 13 years ago

(In [61385]) Wave: fixed #4113: cpp_lexer does not handle qualified backslashes correctly, merging from trunk

Note: See TracTickets for help on using tickets.