diff options
author | juga0 <juga@riseup.net> | 2019-05-12 09:20:46 +0000 |
---|---|---|
committer | juga0 <juga@riseup.net> | 2019-05-12 09:20:46 +0000 |
commit | 57c85e3e3aacf33d7aaf196f566e20f8b9559812 (patch) | |
tree | 04a4e71956da0e270e2bc673d2b3d113a65f992d /bandwidth-file-spec.txt | |
parent | e1ad77e2a1291b02ec099bfec89b1e9751e2ab95 (diff) | |
download | torspec-57c85e3e3aacf33d7aaf196f566e20f8b9559812.tar.gz torspec-57c85e3e3aacf33d7aaf196f566e20f8b9559812.zip |
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
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r-- | bandwidth-file-spec.txt | 5 |
1 files changed, 3 insertions, 2 deletions
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 "====" |