aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-01-17 08:17:29 -0500
committerNick Mathewson <nickm@torproject.org>2023-01-17 08:17:29 -0500
commit83fd14cbae822271b05806174f929c8836110f92 (patch)
treedc9c477a9b420c3e74d26742731f7a327f7b27a4 /dir-spec.txt
parent635270c6c57179319c6858b793b1dbe733c4ae01 (diff)
downloadtorspec-83fd14cbae822271b05806174f929c8836110f92.tar.gz
torspec-83fd14cbae822271b05806174f929c8836110f92.zip
dir-spec: Make Object multiplicity "?", not "*".
We have never actually generated an Item with multiple Objects. What's more, neither the C tor implementation nor Arti actually supports parsing such and item.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index db64b5d..9bc1942 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -279,7 +279,7 @@ Table of Contents
NL = The ascii LF character (hex value 0x0a).
Document ::= (Item | NL)+
- Item ::= KeywordLine Object*
+ Item ::= KeywordLine Object?
KeywordLine ::= Keyword NL | Keyword WS ArgumentChar+ NL
Keyword = KeywordStart KeywordChar*
KeywordStart ::= 'A' ... 'Z' | 'a' ... 'z' | '0' ... '9'