rust-analyzer/crates/parser/src
Yutaro Ohno e865d45904 fix: Recover from missing argument in call expressions
Previously, when parsing an argument list with a missing argument (e.g.,
`(a, , b)` in `foo(a, , b)`), the parser would stop upon an unexpected
token (at the second comma in the example), resulting in an incorrect
parse tree.

This commit improves error handling in such cases, ensuring a more
accurate parse tree is built.
2024-02-08 10:54:04 +01:00
..
grammar fix: Recover from missing argument in call expressions 2024-02-08 10:54:04 +01:00
syntax_kind use visibility to check unused imports and delete some stmts 2023-10-22 21:27:46 +08:00
tests Lint debug prints and disallowed types with clippy 2024-02-01 17:57:27 +01:00
event.rs Merge commit '141fc695dc' into sync-from-ra 2023-11-16 22:27:35 +02:00
grammar.rs Merge commit '7219414e81' into sync-from-ra 2024-01-28 15:56:54 +02:00
input.rs internal: rename 2021-12-25 22:02:26 +03:00
lexed_str.rs Reapply "Detect NulInCStr error earlier." 2024-01-25 06:40:07 +02:00
lib.rs Merge commit '7219414e81' into sync-from-ra 2024-01-28 15:56:54 +02:00
output.rs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
parser.rs Merge commit 'aa9bc86125' into sync-from-ra 2023-06-05 12:04:23 +03:00
shortcuts.rs Merge commit '3b7c7f97e4' into sync-from-ra 2023-11-08 08:15:03 +02:00
syntax_kind.rs use visibility to check unused imports and delete some stmts 2023-10-22 21:27:46 +08:00
tests.rs Merge commit '7219414e81' into sync-from-ra 2024-01-28 15:56:54 +02:00
token_set.rs Add semicolons for consistency 2021-10-03 23:39:43 +11:00