comparison 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
comparison
equal deleted inserted replaced
1282:a9a500d22ebc 1283:b04354e24d1b
1 fun foo () = <xml>Hi!</xml>
2
3 (* fun bar () = return (* No *)<xml>Yes!</xml> *)
4
5 fun main () = return <xml><body>
6 A (* B *) C (* D (* E *) F *) D<br/>
7 <b>A</b> <i>(* B *) C <b>D (* E *) F {foo ()}</b></i>
8 </body></xml>