diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-13 17:40:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 17:40:36 -0500 |
commit | d6ca28d7f4d5e72f06e2bf62336f0913fcd0a760 (patch) | |
tree | d774d2db11d15f4663a537ad4eb5e66fc8f7cf55 /src/codegen/struct_layout.rs | |
parent | d5dac094954b017468866129ed502655476d92ef (diff) | |
parent | d5883c677d0ffc57ec38e8483428d9ab8b516623 (diff) |
Auto merge of #1441 - scoopr:fix_namespace_macro, r=emilio
Fix namespaces with macro names
This fixes
1. When the name of the namespace is actually a `#define` macro, which previosly got the name of the macro
2. When the namespace is started from a included file (the header is wrapped in a `nsbegin.h`/`nsend.h` includes), which previously got generated name for the namespace
The change is small, but I feel it is a bit of a hack. It wasn't obvious to me what is a better path though.
Diffstat (limited to 'src/codegen/struct_layout.rs')
0 files changed, 0 insertions, 0 deletions