60d60aaf0d
By checking the recursion depth in the crate we are currently parsing, we can decide on the right module directory to find submodules in. The added `mod_2018` test fails without the changes to `parser.rs`.
17 lines
215 B
C++
17 lines
215 B
C++
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <new>
|
|
|
|
static const uint8_t EXPORT_ME_TOO = 42;
|
|
|
|
struct ExportMe {
|
|
uint64_t val;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
void export_me(ExportMe *val);
|
|
|
|
} // extern "C"
|