[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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@xxxxxxxxxxxxxx>
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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits