[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Exclude brackets from identifiers
Update of /home/minion/cvsroot/doc/spec
In directory moria.mit.edu:/tmp/cvs-serv21788
Modified Files:
dir-spec.txt
Log Message:
Exclude brackets from identifiers
Index: dir-spec.txt
===================================================================
RCS file: /home/minion/cvsroot/doc/spec/dir-spec.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- dir-spec.txt 24 Jul 2003 03:33:21 -0000 1.9
+++ dir-spec.txt 28 Jul 2003 00:49:08 -0000 1.10
@@ -97,18 +97,18 @@
Formally, a Mix Information Message is a sequence of ASCII
characters, consisting of zero or more Sections. Each Section
- contains a Header, and one or more Entries. Each Header consists of
- an left square-bracket ('[', ASCII 91), an Identifier, a right
+ contains a Header, and one or more Entries. Each Header consists
+ of an left square-bracket ('[', ASCII 91), an Identifier, a right
square-bracket (']', ASCII 93), and an EOL. Each Entry consists of
- an Identifier, a colon (':', ASCII 58), a Space, a Value, and an EOL.
- An Identifier is a sequence of one or more printable nonspace
- characters other than colon (ASCII 33-57,59-126 inclusive). A Space
- is a sequence of one or more space (' ', ASCII 32) or tab ('\t' ASCII
- 9) characters. A Value is a sequence of zero or more printing ASCII
- characters, excluding NL and CR (ASCII 9, 32-126 inclusive), and not
- beginning with a space or a tab. An EOL is an optional Space,
- followed by either a CR ('\r', ASCII 13), an NL ('\n', ASCII 10), or
- a CR-NL sequence.
+ an Identifier, a colon (':', ASCII 58), a Space, a Value, and an
+ EOL. An Identifier is a sequence of one or more printable nonspace
+ characters other than colon and brackets (ASCII 33-57, 59-90, 92,
+ 94-126 inclusive). A Space is a sequence of one or more space ('
+ ', ASCII 32) or tab ('\t' ASCII 9) characters. A Value is a
+ sequence of zero or more printing ASCII characters, excluding NL
+ and CR (ASCII 9, 32-126 inclusive), and not beginning with a space
+ or a tab. An EOL is an optional Space, followed by either a CR
+ ('\r', ASCII 13), an NL ('\n', ASCII 10), or a CR-NL sequence.
[XXXX Is there any reason to handle non-ASCII here? I don't want to
walk down the road of having a dozen competing charsets and
@@ -123,7 +123,7 @@
Identifier ::= IdentifierChar | Identifier IdentifierChar
IdentifierChar ::= [Any character from ASCII 33 through ASCII 126
- inclusive, excluding ASCII 58.]
+ inclusive, excluding ASCII 58, ASCII 91, ASCII 93.]
OptValue ::= Value |
Value ::= NonSpaceValueChar | Value ValueChar