view tests/xcomments.ur @ 2235:0aae15c2a05a

Refactored a lot and fixed an and/or swap, but still not good on current test.
author Ziv Scully <ziv@mit.edu>
date Mon, 29 Jun 2015 01:33:47 -0700
parents 43ca083678f8
children
line wrap: on
line source
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 <!-- 7 --> *) F {foo ()}</b></i>
  A <!-- B --> C <!-- D (* E *) F --> D<br/>
  <b>A</b> <i><!-- B --> C <b>D <!-- E --> F {foo ()}</b></i>
</body></xml>