Allow unions of table types with the same name but from different namespaces.
authorWouter van Oortmerssen <wvo@google.com>
Sat, 18 Jun 2016 01:16:11 +0000 (18:16 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Mon, 20 Jun 2016 18:47:04 +0000 (11:47 -0700)
commit3639032d1e2224663202f79ca33c5039eed95f29
tree1a22e00b573a8fd9003bd9f8f4a7a42ac43f60ba
parent6e177bf03f027880abfca69ebfda8e4d8b1d2da7
Allow unions of table types with the same name but from different namespaces.

Also fixed most codegenerators using the wrong namespace when multiple
namespace were used in a file, with some files not being generated.

Change-Id: Ib42969221239d7244e431cbd667ef69200fc415f
Tested: on Linux.
Bug: 29338474
25 files changed:
include/flatbuffers/code_generators.h
src/idl_gen_general.cpp
src/idl_gen_go.cpp
src/idl_gen_php.cpp
src/idl_gen_python.cpp
src/idl_parser.cpp
tests/MyGame/Example/Any.cs
tests/MyGame/Example/Any.go
tests/MyGame/Example/Any.java
tests/MyGame/Example/Any.php
tests/MyGame/Example/Any.py
tests/MyGame/Example2/Monster.cs [new file with mode: 0644]
tests/MyGame/Example2/Monster.go [new file with mode: 0644]
tests/MyGame/Example2/Monster.java [new file with mode: 0644]
tests/MyGame/Example2/Monster.php [new file with mode: 0644]
tests/MyGame/Example2/Monster.py [new file with mode: 0644]
tests/monster_test.bfbs
tests/monster_test.fbs
tests/monster_test_generated.h
tests/monster_test_generated.js
tests/namespace_test/NamespaceC/TableInC.cs [new file with mode: 0644]
tests/namespace_test/NamespaceC/TableInC.go [new file with mode: 0644]
tests/namespace_test/NamespaceC/TableInC.java [new file with mode: 0644]
tests/namespace_test/NamespaceC/TableInC.php [new file with mode: 0644]
tests/namespace_test/NamespaceC/TableInC.py [new file with mode: 0644]