@@ -715,8 +715,8 @@ void simplecpp::TokenList::constFoldUnaryNotPosNeg(simplecpp::Token *tok)
715
715
tok->setstr (tok->next ->str == " 0" ? " 1" : " 0" );
716
716
deleteToken (tok->next );
717
717
} else if (tok->op == ' ~' && tok->next && tok->next ->number ) {
718
- tok->setstr (toString (~stringToLL (tok->next->str)));
719
- deleteToken (tok->next );
718
+ tok->setstr (toString (~stringToLL (tok->next->str)));
719
+ deleteToken (tok->next );
720
720
} else {
721
721
if (tok->previous && (tok->previous ->number || tok->previous ->name ))
722
722
continue ;
@@ -1747,7 +1747,7 @@ static bool realFileName(const std::string &f, std::string *result)
1747
1747
1748
1748
// Lookup filename or foldername on file system
1749
1749
WIN32_FIND_DATAA FindFileData;
1750
- HANDLE hFind = FindFirstFileExA (f.c_str (), FindExInfoBasic, &FindFileData, FindExSearchNameMatch, NULL , 0 );
1750
+ HANDLE hFind = FindFirstFileExA (f.c_str (), FindExInfoBasic, &FindFileData, FindExSearchNameMatch, NULL , 0 );
1751
1751
1752
1752
if (INVALID_HANDLE_VALUE == hFind)
1753
1753
return false ;
@@ -2022,9 +2022,9 @@ static std::string openHeader(std::ifstream &f, const simplecpp::DUI &dui, const
2022
2022
2023
2023
static std::string getFileName (const std::map<std::string, simplecpp::TokenList *> &filedata, const std::string &sourcefile, const std::string &header, const simplecpp::DUI &dui, bool systemheader)
2024
2024
{
2025
- if (filedata.empty ()) {
2026
- return " " ;
2027
- }
2025
+ if (filedata.empty ()) {
2026
+ return " " ;
2027
+ }
2028
2028
if (isAbsolutePath (header)) {
2029
2029
return (filedata.find (header) != filedata.end ()) ? simplecpp::simplifyPath (header) : " " ;
2030
2030
}
0 commit comments