Opened 11 years ago
Closed 10 years ago
#6291 closed Bugs (fixed)
Distinct parser parses incompletely
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.46.0 | Severity: | Problem |
Keywords: | distinct qi repository | Cc: |
Description
Beginning in 1.46, the repository "distinct" parser, when preceded by another parser, truncates its synthesized string attribute to the first character. Test case attached passes on 1.45 and fails on 1.46 through 1.48.
Attachments (2)
Change History (7)
by , 11 years ago
Attachment: | keyword_issue.cpp added |
---|
comment:2 by , 10 years ago
Here's a patch to solve this issue. It should work on any boost version. The problem was that the container handling modifications made in 1.46 weren't taken into account for the components sleeping in the repository.
I didn't look at the other components, but it could very well be that they also lack the container support.
by , 10 years ago
Attachment: | disctinct_patch.patch added |
---|
comment:4 by , 10 years ago
Awesome! I'll apply the patch into trunk as soon as I can. Thanks, Thomas!
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
minimal test case