24 lines
451 B
Plaintext
24 lines
451 B
Plaintext
![]() |
# T: Repeated choice of parent nodes, with match in fields.
|
||
|
# F: from alt.bud
|
||
|
#
|
||
|
# by Michael Libourel
|
||
|
# $Revision: 1.1 $
|
||
|
|
||
|
version 1
|
||
|
struct Root {
|
||
|
root is group
|
||
|
choice {
|
||
|
is alter of delim
|
||
|
delim ";";
|
||
|
delim ",";
|
||
|
struct {
|
||
|
string { match "A"; } tag1;
|
||
|
string txt1;
|
||
|
} uno;
|
||
|
struct {
|
||
|
string { match "B"; } tag2;
|
||
|
string txt2;
|
||
|
} dos;
|
||
|
} one[];
|
||
|
};
|