-
Notifications
You must be signed in to change notification settings - Fork 0
/
metaadmstpath.dtd
89 lines (67 loc) · 2.94 KB
/
metaadmstpath.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of adms - http://sourceforge.net/projects/mot-adms.
adms is a code generator for the Verilog-AMS language.
Copyright (C) 2002-2012 Laurent Lemaitre <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!--
This dtd describes the basic data structures used by adms classes
It is used to check the validy of file http://mot-adms/sourceforge.net/xml-files/admstpath.xml
You can try using xmllint: xmllint admstpath.xml -noout -postvalid -noblanks
-->
<!--
$Id: metaadmstpath.dtd 990 2008-04-29 15:08:06Z r29173 $
-->
<!--
$Log$
Revision 1.11 2006/09/13 16:13:19 r29173
started migration to www.antlr.org tools
Revision 1.10 2005/12/02 17:48:42 r29173
cleaned-up admstpath lexical analyzer (lexan)
Revision 1.9 2005/11/30 13:58:35 r29173
added nodes maincode and headercode
Revision 1.8 2005/04/06 08:26:49 r29173
simplified code
Revision 1.7 2005/03/31 18:12:01 r29173
migration to adms-2.x.x: converted to adms2 syntax
Revision 1.6 2005/03/24 17:39:02 r29173
migration to adms-2.x.x: moved c-code from perl to xml
Revision 1.5 2005/03/24 17:03:27 r29173
migration to adms-2.x.x: fixed bugs in admstpath parser
Revision 1.4 2005/03/23 13:38:33 r29173
migration to adms-2.x.x: added xpath parser
Revision 1.3 2005/03/22 11:30:18 r29173
migration to adms-2.x.x: clean-up xml constructs
Revision 1.2 2005/03/17 08:26:28 r29173
migration to adms-2.x.x: move all href from absolute to relative values
Revision 1.1 2005/03/16 16:17:17 r29173
migration to adms-2.x.x: build prerequisites for admst path
Revision 1.4 2005/02/25 12:49:35 r29173
migration to adms-2.x.x: renamed admst transforms
-->
<!ELEMENT admstpath (lex,yacc) >
<!ELEMENT lex (ignore,constant+,regexp+) >
<!ELEMENT constant (#PCDATA) >
<!ELEMENT regexp (#PCDATA) >
<!ELEMENT ignore (#PCDATA) >
<!ATTLIST constant id CDATA #REQUIRED value CDATA #IMPLIED >
<!ATTLIST regexp id CDATA #REQUIRED >
<!ATTLIST ignore id CDATA #REQUIRED value CDATA #IMPLIED >
<!ELEMENT yacc (productionset+) >
<!ELEMENT productionset (production+,empty?) >
<!ELEMENT production (item+) >
<!ELEMENT item EMPTY >
<!ELEMENT empty EMPTY >
<!ATTLIST productionset id CDATA #REQUIRED >
<!ATTLIST productionset ret CDATA #REQUIRED >
<!ATTLIST item linkto CDATA #REQUIRED >