@@ -179,7 +179,7 @@ namespace simplecpp {
179179 class SIMPLECPP_LIB TokenList {
180180 public:
181181 explicit TokenList (std::vector<std::string> &filenames);
182- TokenList (std::istream &istr, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = 0 );
182+ TokenList (std::istream &istr, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = NULL );
183183 TokenList (const TokenList &other);
184184#if __cplusplus >= 201103L
185185 TokenList (TokenList &&other);
@@ -199,7 +199,7 @@ namespace simplecpp {
199199 void dump () const ;
200200 std::string stringify () const ;
201201
202- void readfile (std::istream &istr, const std::string &filename=std::string(), OutputList *outputList = 0 );
202+ void readfile (std::istream &istr, const std::string &filename=std::string(), OutputList *outputList = NULL );
203203 void constFold ();
204204
205205 void removeComments ();
@@ -264,7 +264,7 @@ namespace simplecpp {
264264 void constFoldLogicalOp (Token *tok);
265265 void constFoldQuestionOp (Token **tok1);
266266
267- std::string readUntil (std::istream &istr, const Location &location, const char start, const char end, OutputList *outputList, unsigned int bom);
267+ std::string readUntil (std::istream &istr, const Location &location, char start, char end, OutputList *outputList, unsigned int bom);
268268 void lineDirective (unsigned int fileIndex, unsigned int line, Location *location);
269269
270270 std::string lastLine (int maxsize=100000 ) const ;
@@ -297,7 +297,7 @@ namespace simplecpp {
297297 std::list<std::string> includes;
298298 };
299299
300- SIMPLECPP_LIB std::map<std::string, TokenList*> load (const TokenList &rawtokens, std::vector<std::string> &filenames, const DUI &dui, OutputList *outputList = 0 );
300+ SIMPLECPP_LIB std::map<std::string, TokenList*> load (const TokenList &rawtokens, std::vector<std::string> &filenames, const DUI &dui, OutputList *outputList = NULL );
301301
302302 /* *
303303 * Preprocess
@@ -310,7 +310,7 @@ namespace simplecpp {
310310 * @param outputList output: list that will receive output messages
311311 * @param macroUsage output: macro usage
312312 */
313- SIMPLECPP_LIB void preprocess (TokenList &output, const TokenList &rawtokens, std::vector<std::string> &files, std::map<std::string, TokenList*> &filedata, const DUI &dui, OutputList *outputList = 0 , std::list<MacroUsage> *macroUsage = 0 );
313+ SIMPLECPP_LIB void preprocess (TokenList &output, const TokenList &rawtokens, std::vector<std::string> &files, std::map<std::string, TokenList*> &filedata, const DUI &dui, OutputList *outputList = NULL , std::list<MacroUsage> *macroUsage = NULL );
314314
315315 /* *
316316 * Deallocate data
0 commit comments