|
Boost Users : |
From: Hermann Oliveira Rodrigues (hermann_at_[hidden])
Date: 2004-07-11 23:27:36
Hi,
How can I inform an error from a semantic action? Consider the following code:
rule = IDENTIFIER[ callback_a( m_varBinder, &VarBinder::bind ) ];
callback_a is an actor allowing member calls in semantic actions.
VarBinder::bind receives an identifier and try to locate it in an external
symbol table. If bind fails, I like to inform a parser error back to Spirit.
How can I do that? Pointers to the relevant parts in the documentation are
welcome.
Hermann
[My apologies for sending a Spirit specific question to boost-users lists.
However, I getting an administrative error from the sourceforge mail server]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net