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
commit3c78a631ea14620424da465279ce3f1d39521f5d (patch)
tree77b5f8208cff8fa2d7f8eb22aba1291983b30254 /tests
parentf39537f5df937039b1487fef4095047f950c316f (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