summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2006-10-12 09:48:14 +0000
committerBurak Emir <emir@epfl.ch>2006-10-12 09:48:14 +0000
commit1a3ed197d17024b02d2af333ed37d08e6e1c6b72 (patch)
tree965e78be9d7aef89c597b8214094941fb7b89c30 /src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
parent4a26ab7d81ebc8c1cc7b07b00475ccdc42173482 (diff)
downloadscala-1a3ed197d17024b02d2af333ed37d08e6e1c6b72.tar.gz
scala-1a3ed197d17024b02d2af333ed37d08e6e1c6b72.tar.bz2
scala-1a3ed197d17024b02d2af333ed37d08e6e1c6b72.zip
fixed #774, xml patterns and error handling
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/parser/Parsers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
index 9c82212513..2cfad833a7 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
@@ -918,7 +918,6 @@ trait Parsers requires SyntaxAnalyzer {
t = literal(false, false)
case XMLSTART =>
t = xmlp.xLiteral
- //Console.println("successfully parsed XML at "+t); // DEBUG
case IDENTIFIER | BACKQUOTED_IDENT | THIS | SUPER =>
t = path(true, false)
case LPAREN =>
@@ -1210,9 +1209,7 @@ trait Parsers requires SyntaxAnalyzer {
accept(RPAREN)
p
case XMLSTART =>
- val r = xmlp.xLiteralPattern
- //Console.println("successfully parsed xml pattern "+r); DEBUG
- r
+ xmlp.xLiteralPattern
case _ =>
if (settings.migrate.value &&
in.token == MATCH || in.token == REQUIRES || in.token == IMPLICIT)