mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 20:48:59 +00:00
Added option to flatc to generate dependent header statements.
Bug: 17322776 Change-Id: I3a4d3cb4ccd40bc3200a87653aa0ab8ecb90ce60 Tested: on Linux.
This commit is contained in:
@@ -866,7 +866,9 @@ void Parser::MarkGenerated() {
|
||||
}
|
||||
}
|
||||
|
||||
bool Parser::Parse(const char *source, const char **include_paths) {
|
||||
bool Parser::Parse(const char *source, const char **include_paths,
|
||||
const char *source_filename) {
|
||||
if (source_filename) included_files_[source_filename] = true;
|
||||
source_ = cursor_ = source;
|
||||
line_ = 1;
|
||||
error_.clear();
|
||||
|
||||
Reference in New Issue
Block a user