Skip to content

Commit 46dbbeb

Browse files
committed
test
1 parent 08bd742 commit 46dbbeb

4 files changed

Lines changed: 8 additions & 152 deletions

File tree

.github/workflows/CI-unixish.yml

Lines changed: 0 additions & 110 deletions
This file was deleted.

.github/workflows/CI-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
build:
1616
strategy:
1717
matrix:
18-
os: [windows-2022, windows-2025]
19-
config: [Release, Debug]
18+
os: [windows-2025]
19+
config: [Debug]
2020
fail-fast: false
2121

2222
runs-on: ${{ matrix.os }}

.github/workflows/clang-tidy.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

simplecpp.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3309,11 +3309,13 @@ static std::string getTimeDefine(const struct tm *timep)
33093309

33103310
void 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

Comments
 (0)