summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-08-10 14:44:26 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2010-08-10 14:44:26 -0400
commit4bc2b6c4388096c65e2b45b186722e32267948d8 (patch)
tree77b5f8208cff8fa2d7f8eb22aba1291983b30254 /tests
parent67ed059e3b57399c7a8231f3180f35357b7aa1c9 (diff)
ML-style comments inside XML
Diffstat (limited to 'tests')
-rw-r--r--tests/xcomments.ur8
-rw-r--r--tests/xcomments.urp1
-rw-r--r--tests/xcomments.urs1
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