Opened 10 years ago

#7563 new Bugs

slex CONTLINE options parse keyword with backslash

Reported by: gongyiling3468@… Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: wave
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

I'm using the slex, wrapped by boost::wave library, and it's very very cool. but I got a problem when using it. that is it seems slex cannot process the following macro correctly:

#define M else\

+1

the macro content is irrelevant, the point is slex treats "else\" as a whole as code detailed in the attachment.

Attachments (1)

test_wave1.cpp (1.3 KB ) - added by gongyiling3468@… 10 years ago.

Download all attachments as: .zip

Change History (1)

by gongyiling3468@…, 10 years ago

Attachment: test_wave1.cpp added
Note: See TracTickets for help on using tickets.