From 57c85e3e3aacf33d7aaf196f566e20f8b9559812 Mon Sep 17 00:00:00 2001 From: juga0 Date: Sun, 12 May 2019 09:20:46 +0000 Subject: bandwidth-file: Replace KeyWord by Key in the nonterminals definition, so that it match implementations and does not fail with a grammar parser. Closes: #30373 --- bandwidth-file-spec.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bandwidth-file-spec.txt') diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt index 1c36558..6bb10a3 100644 --- a/bandwidth-file-spec.txt +++ b/bandwidth-file-spec.txt @@ -98,7 +98,7 @@ Int SP (space) NL (newline) - Keyword + KeywordChar ArgumentChar nickname hexdigest (a '$', followed by 40 hexadecimal characters @@ -112,7 +112,8 @@ Line ::= ArgumentChar* NL RelayLine ::= KeyValue (SP KeyValue)* NL - KeyValue ::= Keyword "=" Value + KeyValue ::= Key "=" Value + Key ::= (KeywordChar | "_")+ Value ::= ArgumentCharValue+ ArgumentCharValue ::= any printing ASCII character except NL and SP. Terminator ::= "=====" or "====" -- cgit v1.2.3-54-g00ecf