diff -r 510d5bd079ad boost/wave/cpplexer/cpp_lex_token.hpp
|
a
|
b
|
|
| 131 | 131 | |
| 132 | 132 | void *ret = pool_type::malloc(); |
| 133 | 133 | if (0 == ret) |
| 134 | | throw std::bad_alloc(); |
| | 134 | boost::throw_exception(std::bad_alloc()); |
| 135 | 135 | return ret; |
| 136 | 136 | } |
| 137 | 137 | |
diff -r 510d5bd079ad boost/wave/grammars/cpp_expression_grammar.hpp
|
a
|
b
|
|
| 782 | 782 | } |
| 783 | 783 | } |
| 784 | 784 | } |
| | 785 | #ifndef BOOST_NO_EXCEPTIONS |
| 785 | 786 | catch (boost::wave::preprocess_exception const& e) { |
| 786 | 787 | // expression is illformed |
| 787 | 788 | if (if_block_status) { |
| … |
… |
|
| 792 | 793 | return false; |
| 793 | 794 | } |
| 794 | 795 | } |
| | 796 | #endif |
| 795 | 797 | |
| 796 | 798 | if (!hit.full) { |
| 797 | 799 | // The token list starts with a valid expression, but there remains |