• Wouter van Oortmerssen's avatar
    Fixed namespace code generation for C++ · 20c0082e
    Wouter van Oortmerssen authored
    The code generator was assuming all declarations for the current
    file sit in the same namepace. Now uses the "on demand" namespace
    switching we had for the forward declarations.
    
    Also fixed a bug related to namespace lookup.
    
    Change-Id: Ib54a3efbc752cbb9590302fa0707c0c73448db3d
    Tested: on Linux.
    20c0082e
Name
Last commit
Last update
..
NamespaceA Loading commit data...
namespace_test1.fbs Loading commit data...
namespace_test1_generated.h Loading commit data...
namespace_test1_generated.js Loading commit data...
namespace_test2.fbs Loading commit data...
namespace_test2_generated.h Loading commit data...
namespace_test2_generated.js Loading commit data...