[tor-commits] [torspec] 01/02: dir-spec: Make Object multiplicity "?", not "*".

gitolite role git at cupani.torproject.org
Thu Jan 26 15:11:47 UTC 2023


This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository torspec.

commit 83fd14cbae822271b05806174f929c8836110f92
Author: Nick Mathewson <nickm at torproject.org>
AuthorDate: Tue Jan 17 08:17:29 2023 -0500

    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.
---
 dir-spec.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list