diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-08-10 14:44:26 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-08-10 14:44:26 -0400 |
commit | 3c78a631ea14620424da465279ce3f1d39521f5d (patch) | |
tree | 77b5f8208cff8fa2d7f8eb22aba1291983b30254 /tests | |
parent | f39537f5df937039b1487fef4095047f950c316f (diff) |
ML-style comments inside XML
Diffstat (limited to 'tests')
-rw-r--r-- | tests/xcomments.ur | 8 | ||||
-rw-r--r-- | tests/xcomments.urp | 1 | ||||
-rw-r--r-- | tests/xcomments.urs | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/xcomments.ur b/tests/xcomments.ur new file mode 100644 index 00000000..61a0b34b --- /dev/null +++ b/tests/xcomments.ur @@ -0,0 +1,8 @@ +fun foo () = <xml>Hi!</xml> + +(* fun bar () = return (* No *)<xml>Yes!</xml> *) + +fun main () = return <xml><body> + A (* B *) C (* D (* E *) F *) D<br/> + <b>A</b> <i>(* B *) C <b>D (* E *) F {foo ()}</b></i> +</body></xml> diff --git a/tests/xcomments.urp b/tests/xcomments.urp new file mode 100644 index 00000000..1a0c34f8 --- /dev/null +++ b/tests/xcomments.urp @@ -0,0 +1 @@ +xcomments diff --git a/tests/xcomments.urs b/tests/xcomments.urs new file mode 100644 index 00000000..6ac44e0b --- /dev/null +++ b/tests/xcomments.urs @@ -0,0 +1 @@ +val main : unit -> transaction page |