From 83fd14cbae822271b05806174f929c8836110f92 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 17 Jan 2023 08:17:29 -0500 Subject: 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(-) (limited to 'dir-spec.txt') 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' -- cgit v1.2.3-54-g00ecf