* Simplify @-patterns: only {attrs}@name' or
name@{attrs}' are now
allowed. So `name1@name2', `{attrs1}@{attrs2}' and so on are now no longer legal. This is no big loss because they were not useful anyway. This also changes the output of builtins.toXML for @-patterns slightly.
This commit is contained in:
parent
7482349fe8
commit
8a10360c91
13 changed files with 83 additions and 173 deletions
|
@ -6,14 +6,11 @@
|
|||
</attr>
|
||||
<attr name="at">
|
||||
<function>
|
||||
<at>
|
||||
<varpat name="args" />
|
||||
<attrspat>
|
||||
<attr name="x" />
|
||||
<attr name="y" />
|
||||
<attr name="z" />
|
||||
</attrspat>
|
||||
</at>
|
||||
<attrspat name="args">
|
||||
<attr name="x" />
|
||||
<attr name="y" />
|
||||
<attr name="z" />
|
||||
</attrspat>
|
||||
</function>
|
||||
</attr>
|
||||
<attr name="b">
|
||||
|
@ -24,11 +21,10 @@
|
|||
</attr>
|
||||
<attr name="ellipsis">
|
||||
<function>
|
||||
<attrspat>
|
||||
<attrspat ellipsis="1">
|
||||
<attr name="x" />
|
||||
<attr name="y" />
|
||||
<attr name="z" />
|
||||
<ellipsis />
|
||||
</attrspat>
|
||||
</function>
|
||||
</attr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue