| 54 |
|
/** |
| 55 |
|
* @class SimplePreprocessor |
| 56 |
|
* @brief A simple preprocessor. |
| 57 |
< |
* @note only support #include #ifdef, #ifndef, #endif, #define and #undef, c-like multiple line |
| 58 |
< |
* comment is not support, macro substitude is not support. |
| 57 |
> |
* @note only supports #include #ifdef, #ifndef, #endif, #define and #undef, c-like multiple line |
| 58 |
> |
* comment is not supported, macro substitute is not supported. |
| 59 |
|
*/ |
| 60 |
|
namespace oopse { |
| 61 |
|
class SimplePreprocessor { |
| 135 |
|
} |
| 136 |
|
os << std::endl; |
| 137 |
|
} else { |
| 138 |
< |
std::cout << tokens[0] << " is not support" << std::endl; |
| 138 |
> |
std::cout << tokens[0] << " is not supported (yet)." << std::endl; |
| 139 |
|
return false; |
| 140 |
|
} |
| 141 |
|
}else { |