doc/xdump: Fix definition of identifier in grammar
getid() requires identifiers to start with a letter. Fix the documentation to match the code. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
cc61904354
commit
6316072508
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ use '-' in meta-identifiers and omit the concatenation symbol ','.
|
||||||
table = header { record } footer ;
|
table = header { record } footer ;
|
||||||
header = "XDUMP" space [ "meta" space ]
|
header = "XDUMP" space [ "meta" space ]
|
||||||
identifier space timestamp newline ;
|
identifier space timestamp newline ;
|
||||||
identifier = id-chr { id-chr } ;
|
identifier = id-char1 { id-char } ;
|
||||||
|
id-char1 = ? ASCII letter ? ;
|
||||||
id-char = ? ASCII characters 33..126 except '"#()<>=' ? ;
|
id-char = ? ASCII characters 33..126 except '"#()<>=' ? ;
|
||||||
timestamp = intnum ;
|
timestamp = intnum ;
|
||||||
footer = "/" number newline ;
|
footer = "/" number newline ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue