Opened 11 years ago

Closed 5 years ago

#5713 closed Bugs (fixed)

Auto attribute propagation failed when semantic action present

Reported by: tongari95@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

typedef vector<int, int> V;
typedef rule<char const*, V(), space_type> R;
V val;
R r;
--------
r %= (int_ >> int_)[_1]; // fails to propagate attribute
r %= int_ >> int_[_1]; // ok
r %= int_ >> int_; // ok

Attachments (1)

test.cpp (1.1 KB ) - added by Jamboree <tongari95@…> 11 years ago.
test case

Download all attachments as: .zip

Change History (3)

by Jamboree <tongari95@…>, 11 years ago

Attachment: test.cpp added

test case

comment:2 by Joel de Guzman, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.