diff options
Diffstat (limited to 'spec/scripts/gen_abnf.py')
| -rw-r--r-- | spec/scripts/gen_abnf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/scripts/gen_abnf.py b/spec/scripts/gen_abnf.py index 9569195..88354ea 100644 --- a/spec/scripts/gen_abnf.py +++ b/spec/scripts/gen_abnf.py @@ -53,7 +53,7 @@ def main(): fields = reg["fields"] lines = [] - lines.append("; UGI Grammar v0 — RFC 5234 ABNF") + lines.append("; UGI Grammar v0: RFC 5234 ABNF") lines.append("; Generated from ugi_registry_v0.json") lines.append(";") lines.append("; Compatible with abnf.dev/abnf2svg") @@ -119,7 +119,7 @@ def main(): has_alt = mods.get("alternative", False) hex_code = hex_char(code) - lines.append(f"; {code} — {f['name']} ({ftype})") + lines.append(f"; {code}: {f['name']} ({ftype})") if ftype == "direct": # Build modifier part |
