Fix builtin macros split exprs on comma

This commit is contained in:
Edwin Cheng 2021-02-28 13:06:17 +08:00
parent f682627da4
commit f5bf1a9650
5 changed files with 144 additions and 89 deletions

View file

@ -65,8 +65,8 @@ impl fmt::Display for ExpandError {
}
pub use crate::syntax_bridge::{
ast_to_token_tree, parse_to_token_tree, syntax_node_to_token_tree, token_tree_to_syntax_node,
TokenMap,
ast_to_token_tree, parse_exprs_with_sep, parse_to_token_tree, syntax_node_to_token_tree,
token_tree_to_syntax_node, TokenMap,
};
/// This struct contains AST for a single `macro_rules` definition. What might