diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-25T12·19+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-25T12·19+0000 |
commit | 8a10360c912bc344ea9ce7f8871a47a6e036552f (patch) | |
tree | 09ed76a3e11754ee09c48cd491782848df169063 /tests/lang/eval-okay-xml.exp.xml | |
parent | 7482349fe8ba9f285f6c7e53d8573fc367ecff8b (diff) |
* 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.
Diffstat (limited to 'tests/lang/eval-okay-xml.exp.xml')
-rw-r--r-- | tests/lang/eval-okay-xml.exp.xml | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/tests/lang/eval-okay-xml.exp.xml b/tests/lang/eval-okay-xml.exp.xml index 72a96d54c7d3..f124f939ed48 100644 --- a/tests/lang/eval-okay-xml.exp.xml +++ b/tests/lang/eval-okay-xml.exp.xml @@ -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> |