summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-01-21 22:38:25 +0000
committerMartin Odersky <odersky@gmail.com>2008-01-21 22:38:25 +0000
commit9c723bc385f90a252104e872c3c28b3bc8bb3257 (patch)
tree03205a49a233edd33eebe515e8708334e3344b2d /src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
parentfdd9bd04ed7eddf942474624e41eeb0490146527 (diff)
downloadscala-9c723bc385f90a252104e872c3c28b3bc8bb3257.tar.gz
scala-9c723bc385f90a252104e872c3c28b3bc8bb3257.tar.bz2
scala-9c723bc385f90a252104e872c3c28b3bc8bb3257.zip
fixed #318
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/parser/Parsers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
index 9b37ec8d02..8412012c20 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
@@ -719,7 +719,7 @@ trait Parsers extends NewScanners with MarkupParsers {
val whereClauses = refinement()
for (wc <- whereClauses) {
wc match {
- case TypeDef(_, _, _, TypeBoundsTree(_, _)) | ValDef(_, _, _, EmptyTree) =>
+ case TypeDef(_, _, _, TypeBoundsTree(_, _)) | ValDef(_, _, _, EmptyTree) | EmptyTree =>
;
case _ =>
syntaxError(wc.pos, "not a legal where clause", false)