diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-04-19 09:38:52 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-04-19 09:38:52 +0000 |
commit | 807b7a27ed305727b7f61e27e777c5c5b7f6f79b (patch) | |
tree | 7b974869b03cdd70ed98d16dc649bf1782361d7e /src/compiler | |
parent | 43b3b98924eb640571d6bb114c16d60d62f713ce (diff) | |
download | scala-807b7a27ed305727b7f61e27e777c5c5b7f6f79b.tar.gz scala-807b7a27ed305727b7f61e27e777c5c5b7f6f79b.tar.bz2 scala-807b7a27ed305727b7f61e27e777c5c5b7f6f79b.zip |
Changed XML parser to put correct positions in ...
Changed XML parser to put correct positions in trees for processing
instructions.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala index 90d003c813..25af76f466 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala @@ -504,6 +504,7 @@ class MarkupParser(p: UnitParser, presWS: boolean) /*with scala.xml.parsing.Mark //var tree = element; var tree:Tree = null val ts = new mutable.ArrayBuffer[Tree]() + tmppos = pos // Iuli: added this line, as it seems content_LT uses tmppos when creating trees content_LT(ts) //Console.println("xLiteral:ts = "+ts.toList) lastend = s.in.bp |