diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-21 19:31:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-21 19:31:19 +0000 |
commit | c9273828b3c44fba62d1b989480c287d923839d2 (patch) | |
tree | c222eabbd7fafcf9d491ba77d34238fe587449ce /xtask/src/codegen/gen_syntax.rs | |
parent | 3f1a0c3c5f4e52505ca83cb217201b116453c896 (diff) | |
parent | 144dc6652c1bdb0a8a522d86d5bb4be612968675 (diff) |
Merge #2342
2342: Use proper MacroFileKind in `SourceAnalyzer` r=matklad a=edwin0cheng
* Add `MacroFileKind::Statements`
* Add `to_macro_file_kind` in `source_binding.rs` to set a proper `MacroFileKind` when expanding a macro.
* Add a test for trying expanding `match_ast` which is not correct before this PR.
* Fix some spacing issues in `insert_whitespaces`
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'xtask/src/codegen/gen_syntax.rs')
0 files changed, 0 insertions, 0 deletions