Preprocessor: document that removeComments() may throws exception.
No code change.
This commit is contained in:
parent
8f96c1992a
commit
5ab6c6cf80
|
@ -95,6 +95,7 @@ protected:
|
||||||
* Remove comments from code. This should only be called from read().
|
* Remove comments from code. This should only be called from read().
|
||||||
* @param str Code processed by read().
|
* @param str Code processed by read().
|
||||||
* @return code without comments
|
* @return code without comments
|
||||||
|
* @throws std::runtime_error when code contains unhandled characters
|
||||||
*/
|
*/
|
||||||
static std::string removeComments(const std::string &str);
|
static std::string removeComments(const std::string &str);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue