Chandler Carruth
1b2eb42c5a
Start avoiding parse diagnostics on error tokens ( #4431 )
...
An invalid parse due to an error token isn't likely a great diagnostic
as it will already have been diagnosed by the lexer. A common case to
start handling that is when the parser encounters an invalid token when
expecting an expression.
This removes a number of unhelpful diagnostics after the lexer has done
a good job diagnosing.
This also means that there may be parse tree errors that aren't
diagnosed when there are lexer-diagnosed errors, so track that.
Follow-up to #4430 that almost finishes addressing its diagnostic TODO.
2024-11-02 05:53:27 +00:00
..
2023-09-01 01:35:45 +00:00
2024-11-02 05:53:27 +00:00
2024-10-23 18:16:32 +00:00
2024-10-21 19:39:53 +00:00
2024-09-15 23:48:19 +00:00
2024-10-23 18:16:32 +00:00
2024-10-25 23:08:28 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-10-21 19:39:53 +00:00
2024-10-16 22:46:15 +00:00
2024-07-31 19:39:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-11-02 05:53:27 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-07-31 19:39:45 +00:00
2024-09-19 21:32:53 +00:00
2024-06-04 20:04:45 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-06-04 20:04:45 +00:00
2024-10-16 22:46:15 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-06-04 20:04:45 +00:00
2024-09-11 03:17:07 +00:00
2024-05-31 23:11:51 +00:00
2024-09-11 21:36:55 +00:00
2024-09-12 16:42:08 +00:00
2024-06-04 20:04:45 +00:00
2024-11-02 05:53:27 +00:00
2024-01-03 19:44:05 +00:00
2024-08-22 22:32:19 +00:00
2024-09-13 10:03:21 +00:00
2024-09-13 10:03:21 +00:00
2024-01-29 16:15:35 +00:00
2024-09-12 01:39:22 +00:00
2023-11-10 10:43:25 +00:00
2024-09-12 16:42:08 +00:00
2024-09-12 16:42:08 +00:00
2024-07-31 19:39:45 +00:00
2024-10-10 19:43:31 +00:00
2024-09-11 21:36:55 +00:00
2024-09-11 21:36:55 +00:00
2024-10-10 19:43:31 +00:00
2024-09-12 01:39:22 +00:00