mirror of https://gitlab.com/QEF/q-e.git
Introducing a "supercard" element as to better describe the neb.x
input syntax. A supercard is a section of input that contains at least one namelist, card, or lower-level supercard. An example of the supercard is the following input section of neb.x: BEGIN_PATH_INPUT ... neb specific namelists and cards ... BEGIN_PATH_INPUT Here is how this is coded in the iNPUT_NEB.def file: supercard BEGIN_PATH_INPUT -endtag END_PATH_INPUT { namelist PATH { ... etc. } } git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12686 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
b00dabd765
commit
c63f411b8d
|
@ -234,6 +234,39 @@ element optional { ancestorElements }
|
|||
element conditional { ancestorElements }
|
||||
element group { ancestorElements }
|
||||
|
||||
element supercard {
|
||||
ident
|
||||
|
||||
optional {
|
||||
interleave {
|
||||
attribute starttag { string }
|
||||
attribute endtag { string }
|
||||
attribute remark { text }
|
||||
}
|
||||
}
|
||||
|
||||
interleave {
|
||||
+ {
|
||||
optional {
|
||||
ref supercard
|
||||
ref namelist
|
||||
ref card
|
||||
ref linecard
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
optional {
|
||||
ref if
|
||||
ref choose
|
||||
ref label
|
||||
ref message
|
||||
ref optional
|
||||
ref conditional
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
element namelist {
|
||||
ident
|
||||
|
@ -287,6 +320,7 @@ element linecard {
|
|||
interleave {
|
||||
+ {
|
||||
optional {
|
||||
ref keyword
|
||||
ref var
|
||||
ref vargroup
|
||||
ref list
|
||||
|
@ -418,4 +452,4 @@ element paragraph {
|
|||
attribute title { text }
|
||||
ref text
|
||||
}
|
||||
element text { text }
|
||||
element text { text }
|
||||
|
|
Loading…
Reference in New Issue