static Function* current_function = 0;
static Type* current_type = 0;
static Field* current_field = 0;
-static ClassMember::Visbility current_visibility;
+static ClassMember::Visibility current_visibility;
class ParseError : public std::exception
{
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