X3: How to provide a rule name

Mike Gresens <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Hi,

the rule:

const auto list_rule = [](const auto& rule)
{
	return x3::lit('V') >> *(rule - x3::lit('z')) >> x3::lit('z');
};

How to provide a rule name for the list_rule?
Needed for expectation failures.

Thanks,
Mike...



--
View this message in context: http://boost.2283326.n4.nabble.com/X3-How-to-provide-a-rule-name-tp4683086.html
Sent from the spirit-general mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.