Skip to content

Commit f7ab8e3

Browse files
committed
vendor(simplecpp): Update simplecpp.{h,cpp} to master (538c5c4); was v1.2.0 (a853253)
Upstream: danmar/simplecpp@538c5c4 Source date: 2025-08-23 Files: generator/simplecpp/simplecpp.h, generator/simplecpp/simplecpp.cpp Patch: generator/simplecpp/do_not_stop_on_error.patch re-applied Compare: danmar/simplecpp@a853253...538c5c4
1 parent 4bfe7d5 commit f7ab8e3

File tree

4 files changed

+451
-400
lines changed

4 files changed

+451
-400
lines changed

generator/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ namespace
155155
std::unique_ptr<simplecpp::TokenList> rawtokens(new simplecpp::TokenList(ba.constData(), ba.size(), files, {}, &outputList));
156156
rawtokens->removeComments();
157157
simplecpp::TokenList outputTokens(files);
158-
std::map<std::string, simplecpp::TokenList*> filedata;
158+
simplecpp::FileDataCache filedata;
159159
simplecpp::preprocess(outputTokens, *rawtokens, files, filedata, dui, &outputList);
160160
simplecpp::cleanup(filedata);
161161
rawtokens.reset();

generator/simplecpp/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This code is taken from https://github.com/danmar/simplecpp, version 1.2.0 (a853253)
1+
This code is taken from https://github.com/danmar/simplecpp, version post-1.5.2 (538c5c4)
22

33
The code was released under the 0BSD license (see LICENSE file).
44

0 commit comments

Comments
 (0)