Mercurial > emacs
comparison etc/ETAGS.EBNF @ 88155:d7ddb3e565de
sync with trunk
author | Henrik Enberg <henrik.enberg@telia.com> |
---|---|
date | Mon, 16 Jan 2006 00:03:54 +0000 |
parents | d0c1bb6d79a0 |
children |
comparison
equal
deleted
inserted
replaced
88154:8ce476d3ba36 | 88155:d7ddb3e565de |
---|---|
1 -*- indented-text -*- | 1 -*- indented-text -*- |
2 | 2 |
3 This file contains two sections: | 3 This file contains two sections: |
4 | 4 |
5 1) An EBNF (Extended Backus Normal Form) description of the format of | 5 1) An EBNF (Extended Backus-Naur Form) description of the format of |
6 the tags file created by etags.c and interpreted by etags.el; | 6 the tags file created by etags.c and interpreted by etags.el; |
7 2) A discussion of tag names and implicit tag names. | 7 2) A discussion of tag names and implicit tag names. |
8 | 8 |
9 ====================== 1) EBNF tag file description ===================== | 9 ====================== 1) EBNF tag file description ===================== |
10 | 10 |
79 redundant; this happens when the name of a tag is an easily guessable | 79 redundant; this happens when the name of a tag is an easily guessable |
80 substring of the tag pattern. We define a set of rules to decide | 80 substring of the tag pattern. We define a set of rules to decide |
81 whether it is possible to deduce the tag name from the pattern, and make | 81 whether it is possible to deduce the tag name from the pattern, and make |
82 an unnamed tag in those cases. The name deduced from the pattern of an | 82 an unnamed tag in those cases. The name deduced from the pattern of an |
83 unnamed tag is the implicit name of that tag. | 83 unnamed tag is the implicit name of that tag. |
84 When the user looks for a tag, and Emacs founds no explicit tag names | 84 When the user looks for a tag, and Emacs finds no explicit tag names |
85 that match it, Emacs then looks for an tag whose implicit tag name | 85 that match it, Emacs then looks for an tag whose implicit tag name |
86 matches the request. etags.c uses implicit tag names when possible, in | 86 matches the request. etags.c uses implicit tag names when possible, in |
87 order to reduce the size of the tags file. | 87 order to reduce the size of the tags file. |
88 An implicit tag name is deduced from the pattern by discarding the | 88 An implicit tag name is deduced from the pattern by discarding the |
89 last character if it is one of ` \f\t\n\r()=,;', then taking all the | 89 last character if it is one of ` \f\t\n\r()=,;', then taking all the |