Skip to content

Commit 4891b1b

Browse files
authored
vendor(simplecpp): Update simplecpp.{h,cpp} to master (538c5c4); was v1.2.0 (a853253) (#274)
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 675ea74 commit 4891b1b

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
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)