mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-12 07:50:59 +00:00
sharing the Flatbuffers warning
This commit is contained in:
@@ -684,9 +684,7 @@ class JsGenerator : public BaseGenerator {
|
||||
generateEnums(&enum_code, &exports_code);
|
||||
generateStructs(&struct_code, &exports_code);
|
||||
|
||||
code +=
|
||||
"// automatically generated by the FlatBuffers compiler, do not "
|
||||
"modify\n\n";
|
||||
code = code + "// " + FlatBuffersGeneratedWarning();
|
||||
|
||||
// Generate code for all the namespace declarations.
|
||||
GenNamespaces(parser_, &code, &exports_code);
|
||||
|
||||
Reference in New Issue
Block a user