Skip to content

X3: Perform attribute transformation before calling parse_rule - #456

Merged
Kojoley merged 1 commit into
boostorg:developfrom
Kojoley:x3-perform-transformation-before-parse_rule
Feb 8, 2019
Merged

X3: Perform attribute transformation before calling parse_rule#456
Kojoley merged 1 commit into
boostorg:developfrom
Kojoley:x3-perform-transformation-before-parse_rule

Conversation

@Kojoley

@Kojoley Kojoley commented Feb 8, 2019

Copy link
Copy Markdown
Collaborator

This will deal with linking problems when rule attribute type is not the same
as the actual attribute type. It will not harm anyone as the transformation
after parse_rule will just pass-through the attribute because it will be the
same there. It will also do not alter rule_definition parsing so other usages
are still valid.

Refs #454, supersedes #347.

This will deal with linking problems when rule attribute type is not the same
as the actual attribute type. It will not harm anyone as the transformation
after parse_rule will just pass-through the attribute because it will be the
same there. It will also do not alter rule_definition parsing so other usages
are still valid.
@Kojoley
Kojoley merged commit b5f1552 into boostorg:develop Feb 8, 2019
@Kojoley
Kojoley deleted the x3-perform-transformation-before-parse_rule branch February 8, 2019 18:55
@Kojoley Kojoley mentioned this pull request Feb 8, 2019
Kojoley added a commit to Kojoley/spirit that referenced this pull request Feb 8, 2019
After boostorg#456 `parse_rule` is always called with value of `rule::attribute_type&`
type. By removing attribute type deduction we also will turn any possible bug
in `transform_attribute` from a linkage to compile error.

Fixes boostorg#454
Kojoley added a commit that referenced this pull request Feb 9, 2019
After #456 `parse_rule` is always called with value of `rule::attribute_type&`
type. By removing attribute type deduction we also will turn any possible bug
in `transform_attribute` from a linkage to compile error.

Fixes #454
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant