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/xcomments.ur | |
parent | f39537f5df937039b1487fef4095047f950c316f (diff) |
ML-style comments inside XML
Diffstat (limited to 'tests/xcomments.ur')
-rw-r--r-- | tests/xcomments.ur | 8 |
1 files changed, 8 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> |