Skip to content
Snippets Groups Projects
Commit 020012e6 authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen
Browse files

Fixed native_include not requiring a ; terminator.

Change-Id: Ic4f49e94c67ba23f07e5ba7e87ca94e8db5d5906
Tested: on Linux.
parent f431a965
No related branches found
No related tags found
No related merge requests found
......@@ -2273,6 +2273,7 @@ CheckedError Parser::DoParse(const char *source, const char **include_paths,
NEXT();
vector_emplace_back(&native_included_files_, attribute_);
EXPECT(kTokenStringConstant);
EXPECT(';');
} else if (IsIdent("include") || (opts.proto_mode && IsIdent("import"))) {
NEXT();
if (opts.proto_mode && attribute_ == "public") NEXT();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment