class ParseError : public std::exception
{
public:
- ParseError(const std::string& message) throw()
+ ParseError(const std::string& message) throw() :
+ message()
{
std::ostringstream msg;
msg << "Parse error in '" << current_file
function_attributes:
/* empty */
| T_CONST function_attributes
- | T_CUSTOM function_attributes
+ | T_CUSTOM '(' T_STRING ')' function_attributes
{
+ current_function->parameter_spec = $3;
current_function->custom = true;
}
| T_SUSPEND function_attributes
%%
+__attribute__((noreturn))
void yyerror(const char* error)
{
throw ParseError(error);