Consolidate, refactor, and bugfix the lexer's handling of captures and skips (#1957)

- Do not error about local labels following keywords in skips or captures (fixes #1955)
- Do not incompletely attempt to handle line continuations in skips (fixes #1956)
- Rename `skipToLeadingIdentifier` to `skipToLeadingKeyword`, refactor to merge
  `skipToEOL` into it, and use it for both skips and captures
This commit is contained in:
Rangi
2026-04-20 13:04:20 +02:00
committed by GitHub
parent 12186fdccc
commit cfec017fed
5 changed files with 105 additions and 57 deletions
+2
View File
@@ -0,0 +1,2 @@
*sips coffee*
this is fine