diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-07-19 14:37:23 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-07-19 14:37:23 +0000 |
commit | 1019c3a8ef246e10de604bf47fe184de442c9def (patch) | |
tree | c4967cf5c9a12c6872d37a0103e461ab999a8c43 /src | |
parent | e00276d4b1c9d3da44ed8e0c506309d7ef84996d (diff) | |
download | scala-1019c3a8ef246e10de604bf47fe184de442c9def.tar.gz scala-1019c3a8ef246e10de604bf47fe184de442c9def.tar.bz2 scala-1019c3a8ef246e10de604bf47fe184de442c9def.zip |
Changed ++ call to ++=
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala index f17ff38ddf..3d18a5d5f3 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala @@ -34,7 +34,7 @@ trait MarkupParsers { import global._ //import posAssigner.atPos - class MarkupParser(p: UnitParser, presWS: Boolean) /*with scala.xml.parsing.MarkupParser[Tree,Tree] */{ + class MarkupParser(p: Parser, presWS: boolean) /*with scala.xml.parsing.MarkupParser[Tree,Tree] */{ import Tokens.{EMPTY, LBRACE, RBRACE} @@ -698,7 +698,7 @@ trait MarkupParsers { while (! exit) { val pos2 = pos if (xEmbeddedBlock) { - ts ++ xScalaPatterns + ts ++= xScalaPatterns } else ch match { case '<' => // tag @@ -711,7 +711,7 @@ trait MarkupParsers { case '{' => // embedded Scala patterns while (ch == '{') { s.in.next - ts ++ xScalaPatterns + ts ++= xScalaPatterns } // postcond: xEmbeddedBlock = false; if (xEmbeddedBlock) Predef.error("problem with embedded block"); // assert |