Ryo Yoshida
|
0d4d1d7e3b
|
Implement ${count()} metavariable expression
|
2023-05-28 19:54:36 +09:00 |
|
Ryo Yoshida
|
9ebaa85d37
|
Split test module for metavariable expressions
|
2023-05-28 19:54:23 +09:00 |
|
Ryo Yoshida
|
34a9129333
|
fix: column!() and line!() built-in macros return u32
|
2023-05-11 21:13:05 +09:00 |
|
bors
|
924d30a772
|
Auto merge of #14585 - Veykril:macro-def-err, r=Veykril
Make `ExpandDatabase::parse_macro_expansion` and `ExpandDatabase::parse_or_expand` infallible
|
2023-04-16 18:50:02 +00:00 |
|
Lukas Wirth
|
4ea5d7f6a0
|
Re-introduce option for macro_arg to prevent calling macros with empty inputs
|
2023-04-16 20:26:26 +02:00 |
|
Ryo Yoshida
|
89a1439de3
|
Parse exclusive range pattern
|
2023-04-16 04:28:29 +09:00 |
|
shilangyu
|
44e47fe408
|
Add check for extra path segments after an angled one
|
2023-02-25 16:16:49 +01:00 |
|
bors
|
44568007d1
|
Auto merge of #14128 - Veykril:parser, r=Veykril
internal: Improve parser recovery for delimited lists
Closes https://github.com/rust-lang/rust-analyzer/issues/11188, https://github.com/rust-lang/rust-analyzer/issues/10410, https://github.com/rust-lang/rust-analyzer/issues/10173
Should probably be merged after the stable release as this might get the parser stuck if I missed something
|
2023-02-14 12:59:39 +00:00 |
|
Lukas Wirth
|
4f6b5f41d4
|
Recover better for more delimited sequences
|
2023-02-14 13:52:15 +01:00 |
|
Lukas Wirth
|
1be24e0899
|
internal: Improve parser recovery a bunch
|
2023-02-11 20:28:36 +01:00 |
|
Albert Larsan
|
3e0e51c108
|
Change src/test to tests in source files, fix tidy and tests
|
2023-01-11 09:32:13 +00:00 |
|
arcnmx
|
25242fe93f
|
⬆️ rust-analyzer
Merge commit '368e0bb32f1178cf162c2ce5f7e10b7ae211eb26'
|
2023-01-09 10:36:22 -08:00 |
|
Ryo Yoshida
|
e027ac0fbf
|
fix: don't let mbe expr fragments match let exprs and inline consts
|
2022-12-20 20:31:47 +09:00 |
|
Laurențiu Nicola
|
a2a1d99545
|
⬆️ rust-analyzer
|
2022-11-23 17:24:03 +02:00 |
|
Ryo Yoshida
|
41b0c54c07
|
Fix tt::Punct 's spacing calculation
|
2022-11-05 19:42:09 +09:00 |
|
Laurențiu Nicola
|
8231fee466
|
⬆️ rust-analyzer
|
2022-08-16 11:24:50 +03:00 |
|
Edwin Cheng
|
c47914c6cf
|
Fixes tests
|
2022-08-10 16:29:23 +08:00 |
|
Jonas Schievink
|
df66eb74ab
|
Implement ignore and index metavar expression
|
2022-07-11 18:31:42 +02:00 |
|
Tim Neumann
|
40bfb29e50
|
feat: Support $$ in macros.
The implementation mirrors what `rustc` currently does [1]. Part of #11952.
[1]: 0595ea1d12/compiler/rustc_expand/src/mbe/quoted.rs (L230-L241)
|
2022-06-02 21:48:28 +02:00 |
|
Jonas Schievink
|
2287ae22c6
|
Revert "Skip only the tt::Literal when consuming float tokens"
This reverts commit 7db55313a1 .
|
2022-05-13 15:06:16 +02:00 |
|
Jonas Schievink
|
bde036b74e
|
Revert "Fix conversion of float literals in TtTreeSink "
This reverts commit 43a066c5a8 .
|
2022-05-13 15:05:34 +02:00 |
|
Jonas Schievink
|
43a066c5a8
|
Fix conversion of float literals in TtTreeSink
|
2022-05-06 18:39:06 +02:00 |
|
Jonas Schievink
|
7db55313a1
|
Skip only the tt::Literal when consuming float tokens
|
2022-05-06 16:10:54 +02:00 |
|
Peh
|
1f011fa4a3
|
style: rename crates to kebab case
|
2022-05-01 10:48:58 +00:00 |
|