From ffa638e564f41f2ae45aa926133603b2a7456c06 Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Fri, 16 May 2008 11:56:14 +0000 Subject: Removing dead code. Change reviewed by Gilles. --- src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index b5e1b33853..05b909386b 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -1590,20 +1590,6 @@ trait Parsers extends NewScanners with MarkupParsers { annots.toList } - /** TypeAttributes ::= {`[' Exprs `]'} - * - * Type attributes may be arbitrary expressions. - */ - def typeAttributes(): List[Tree] = { - val exps = new ListBuffer[Tree] - while(inToken == LBRACKET) { - accept(LBRACKET) - exps ++= exprs() - accept(RBRACKET) - } - exps.toList - } - /** AnnotationExpr ::= StableId [TypeArgs] [`(' [Exprs] `)'] [[nl] `{' {NameValuePair} `}'] * NameValuePair ::= val id `=' PrefixExpr */ -- cgit v1.2.3