aboutsummaryrefslogtreecommitdiff
path: root/crates/parser/src/grammar/expressions
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-12 00:05:07 +0100
committerGitHub <[email protected]>2021-05-12 00:05:07 +0100
commit9a431c26f4528e2649de0ca171a38c93e473c94e (patch)
tree191386e03f2975d927a093cc54bab52f37a7cbdf /crates/parser/src/grammar/expressions
parentc6e2ba43bbfef80d4ecabbc9edd5be9d058f6db9 (diff)
parente78221bc58a050e8651f5be591561e7adf89c371 (diff)
Merge #8808
8808: fix: Fix fn proc macro input again r=jonas-schievink a=jonas-schievink https://github.com/rust-analyzer/rust-analyzer/pull/8806 broke the `TokenMap`, so none of the tokens in fn-like proc macro inputs could be related to the output (presumably this is because of the `clone_for_update`). This PR instead just sets `delimiter = None;` after the `TokenMap` and `Subtree` are already created. We should probably have more tests for fn-like proc macros, and consider making the behavior consistent with MBE (which *require* the delimiters to be present). bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/parser/src/grammar/expressions')
0 files changed, 0 insertions, 0 deletions