From 206233021b29aaa890f08858e46e6c7491452b19 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Wed, 6 Sep 2006 23:28:18 +0000 Subject: added indexOf method to Iterable, added squeeze... added indexOf method to Iterable, added squeezeBlock code optimization to PatternMatcher --- test/files/jvm/xmlmore.scala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/files/jvm/xmlmore.scala') diff --git a/test/files/jvm/xmlmore.scala b/test/files/jvm/xmlmore.scala index 15adbcc891..c6322bc1ef 100644 --- a/test/files/jvm/xmlmore.scala +++ b/test/files/jvm/xmlmore.scala @@ -1,3 +1,5 @@ +object myBreak extends scala.xml.Unparsed("
") + object Test extends Application { val com = val pi = @@ -6,12 +8,13 @@ object Test extends Application { Heathen, fire worshipper or idolatrous, come! Come even if you broke your penitence a hundred times, Ours is the portal of hope, come as you are." - Mevlana Celaleddin Rumi + Mevlana Celaleddin Rumi]]> -]]> + val nazim = {myBreak} // shows use of unparsed Console println com Console println pi Console println crz // this guy will escaped, and rightly so + Console println nazim Console println "End Test" } -- cgit v1.2.3