]> git.eshelyaron.com Git - emacs.git/commitdiff
Comments added.
authorFrancesco Potortì <pot@gnu.org>
Thu, 13 Jun 2002 10:57:55 +0000 (10:57 +0000)
committerFrancesco Potortì <pot@gnu.org>
Thu, 13 Jun 2002 10:57:55 +0000 (10:57 +0000)
etc/ETAGS.EBNF

index a2b835af748a57eb17057ea2bcafed7ad824c6fe..e548a11cbddd957afdf356931ccce1648ef9d509 100644 (file)
@@ -1,11 +1,13 @@
 EBNF (Extended Backus Normal Form) description of the format of the tags
 file created by etags.c and interpreted by etags.el
+
+Productions created from current behaviour to aid extensions
 Francesco Potorti` <pot@gnu.org> 2002
 ================================================================
 
-FF ::= #x0c                               /* form feed */
+FF ::= #x0c                               /* tag section starter */
 
-LF ::= #x0a                               /* line feed */
+LF ::= #x0a                               /* line terminator */
 
 DEL ::= #x7f                              /* pattern terminator */
 
@@ -29,11 +31,11 @@ regularsec ::= filename "," [ unsint ] [ LF fileprop ] { LF tag }
 
 filename ::= regchar regstring            /* a file name */
 
-fileprop ::= DEL "(" regstring ")"
+fileprop ::= "(" regstring ")"            /* an elisp alist */
 
 tag ::= directtag | patterntag
 
-directtag ::= DEL realposition
+directtag ::= DEL realposition            /* no pattern */
 
 patterntag ::= pattern DEL [ tagname SOH ] position
 
@@ -41,6 +43,6 @@ pattern ::= regstring                    /* a tag pattern */
 
 tagname ::= regchar regstring             /* a tag name */
 
-position ::= realposition | ","
+position ::= realposition | ","           /* charpos,linepos */
 
 realposition ::= "," unsint | unsint "," | unsint "," unsint