131 |
namespace spec |
namespace spec |
132 |
{ |
{ |
133 |
template<typename char_type_, typename traits_type_> |
template<typename char_type_, typename traits_type_> |
134 |
typename basic_parser<char_type_,traits_type_>::parse_tree |
ecstacy::mem::shared_ptr<typename basic_parser<char_type_,traits_type_>::tree> |
135 |
basic_parser<char_type_, traits_type_>::do_parse_ (basic_parser<char_type_,traits_type_>::lexer_type &lexer) |
basic_parser<char_type_, traits_type_>::do_parse_ (basic_parser<char_type_,traits_type_>::lexer_type &lexer) |
136 |
ECSTACY_THROW_SPEC ((basic_parser<char_type_, traits_type_>::failure)) |
ECSTACY_THROW_SPEC ((basic_parser<char_type_, traits_type_>::failure)) |
137 |
{ |
{ |
309 |
ecstacy::util::throw_exception (std::logic_error ("what the fuck?")); |
ecstacy::util::throw_exception (std::logic_error ("what the fuck?")); |
310 |
} |
} |
311 |
} while (1); |
} while (1); |
312 |
return parse_tree (); |
return ecstacy::mem::shared_ptr<tree> (new tree ()); |
313 |
} |
} |
314 |
} |
} |
315 |
} |
} |