@@ -3309,11 +3309,13 @@ static std::string getTimeDefine(const struct tm *timep)
33093309
33103310void simplecpp::preprocess (simplecpp::TokenList &output, const simplecpp::TokenList &rawtokens, std::vector<std::string> &files, simplecpp::FileDataCache &cache, const simplecpp::DUI &dui, simplecpp::OutputList *outputList, std::list<simplecpp::MacroUsage> *macroUsage, std::list<simplecpp::IfCond> *ifCond)
33113311{
3312+ std::cout << __LINE__ << std::endl;
33123313#ifdef SIMPLECPP_WINDOWS
33133314 if (dui.clearIncludeCache )
33143315 nonExistingFilesCache.clear ();
33153316#endif
3316-
3317+ std::cout << __LINE__ << std::endl;
3318+
33173319 std::map<std::string, std::size_t > sizeOfType (rawtokens.sizeOfType );
33183320 sizeOfType.insert (std::make_pair (" char" , sizeof (char )));
33193321 sizeOfType.insert (std::make_pair (" short" , sizeof (short )));
@@ -3404,6 +3406,7 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
34043406 includetokenstack.push (filedata->tokens .cfront ());
34053407 }
34063408
3409+ std::cout << __LINE__ << std::endl;
34073410 std::map<std::string, std::list<Location> > maybeUsedMacros;
34083411
34093412 for (const Token *rawtok = nullptr ; rawtok || !includetokenstack.empty ();) {
@@ -3519,11 +3522,13 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
35193522 return ;
35203523 }
35213524
3525+ std::cout << __LINE__ << std::endl;
35223526 const Token * const inctok = inc2.cfront ();
35233527
35243528 const bool systemheader = (inctok->str ()[0 ] == ' <' );
35253529 const std::string header (inctok->str ().substr (1U , inctok->str ().size () - 2U ));
35263530 const FileData *const filedata = cache.get (rawtok->location .file (), header, dui, systemheader, files, outputList).second ;
3531+ std::cout << __LINE__ << std::endl;
35273532 if (filedata == nullptr ) {
35283533 if (outputList) {
35293534 simplecpp::Output out (files);
0 commit comments