sharing the Flatbuffers warning

This commit is contained in:
lakedaemon
2016-05-26 15:26:58 +02:00
parent 06eb6e94e3
commit cd1493b082
73 changed files with 255 additions and 252 deletions

View File

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