Merge remote-tracking branch 'tor-github/pr/82'

This commit is contained in:
Nick Mathewson 2019-05-14 11:40:56 -04:00
commit 1b05c7c9ed

View File

@ -98,7 +98,7 @@
Int
SP (space)
NL (newline)
Keyword
KeywordChar
ArgumentChar
nickname
hexdigest (a '$', followed by 40 hexadecimal characters
@ -113,7 +113,8 @@
Line ::= ArgumentChar* NL
RelayLine ::= KeyValue (SP KeyValue)* NL
HeaderLine ::= KeyValue NL
KeyValue ::= Keyword "=" Value
KeyValue ::= Key "=" Value
Key ::= (KeywordChar | "_")+
Value ::= ArgumentCharValue+
ArgumentCharValue ::= any printing ASCII character except NL and SP.
Terminator ::= "=====" or "===="