Fix lexing unknown flags - treat as error

This commit is contained in:
Wolfsblvt
2024-08-09 04:15:42 +02:00
parent ddb317f189
commit b7840eb9cd
2 changed files with 53 additions and 22 deletions

View File

@@ -82,7 +82,7 @@ const Def = {
using(Tokens.WhiteSpace),
// Last fallback, before we need to exit the mode, as we might have characters we falsely haven't defined yet
// Last fallback, before we need to exit the mode, as we might have characters we (wrongly) haven't defined yet
using(Tokens.Unknown),
// Args are optional, and we don't know how long, so exit the mode to be able to capture the actual macro end