diff tests/xcomments.ur @ 1283:b04354e24d1b

ML-style comments inside XML
author Adam Chlipala <adam@chlipala.net>
date Tue, 10 Aug 2010 14:44:26 -0400
parents
children 43ca083678f8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/xcomments.ur	Tue Aug 10 14:44:26 2010 -0400
@@ -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>