Remove dead parse.token.* catalog entries
The 5 structural-class entries (identifier/number/string_literal/flag/ end_of_input) and 3 lex-error entries (bad_flag/unknown_char/ unterminated_string) were unreachable: ADR-0024 Phase F made the walker render keyword wording verbatim and the lex errors never surface through today's walker. Handoff-12 §2.1 kept them as a conservative call; removed now per user request. Re-adding is cheap if a future need arises.
This commit is contained in:
@@ -408,25 +408,6 @@ parse:
|
||||
import: "import <zip-path> [as <target>]"
|
||||
mode: "mode simple | mode advanced"
|
||||
messages: "messages | messages short | messages verbose"
|
||||
# Single-token vocabulary (ADR-0021 §4, ADR-0024 §cleanup-pass).
|
||||
# The per-keyword and per-punct entries collapsed when the
|
||||
# walker became the source of truth — keyword wording is now
|
||||
# produced verbatim as `` `<word>` `` by the parse-error
|
||||
# formatter, sourced from the grammar tree's Word literals.
|
||||
# What remains here is structural-class labels (identifier /
|
||||
# number / string literal / flag / end of input) and the
|
||||
# lex-error wordings, none of which are derivable from the
|
||||
# grammar.
|
||||
token:
|
||||
identifier: "identifier"
|
||||
number: "number"
|
||||
string_literal: "string literal"
|
||||
flag: "flag (--name)"
|
||||
end_of_input: "end of input"
|
||||
error:
|
||||
unterminated_string: "unterminated string literal"
|
||||
unknown_char: "unrecognised character `{found}`"
|
||||
bad_flag: "malformed flag (bare `--`)"
|
||||
|
||||
# ---- Project lifecycle event notes -----------------------------------
|
||||
project:
|
||||
|
||||
Reference in New Issue
Block a user