diff --git a/src/preprocessor.h b/src/preprocessor.h index aac473b5c..53290a18f 100644 --- a/src/preprocessor.h +++ b/src/preprocessor.h @@ -95,6 +95,7 @@ protected: * Remove comments from code. This should only be called from read(). * @param str Code processed by read(). * @return code without comments + * @throws std::runtime_error when code contains unhandled characters */ static std::string removeComments(const std::string &str);