Skip to content

Commit

Permalink
bandwidth-file: Replace KeyWord by Key
Browse files Browse the repository at this point in the history
in the nonterminals definition, so that it match implementations
and does not fail with a grammar parser.

Closes: #30373
  • Loading branch information
juga0 committed May 12, 2019
1 parent e1ad77e commit 57c85e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bandwidth-file-spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
Int
SP (space)
NL (newline)
Keyword
KeywordChar
ArgumentChar
nickname
hexdigest (a '$', followed by 40 hexadecimal characters
Expand All @@ -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 "===="
Expand Down

0 comments on commit 57c85e3

Please sign in to comment.