diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-16 11:56:14 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-05-16 11:56:14 +0000 |
commit | ffa638e564f41f2ae45aa926133603b2a7456c06 (patch) | |
tree | e654d4c6eebe9539a84406d385c15f1c3aa5d99c /src/compiler | |
parent | be2557d32cbbc2d6b86aeb936aa18d39593ba0e1 (diff) | |
download | scala-ffa638e564f41f2ae45aa926133603b2a7456c06.tar.gz scala-ffa638e564f41f2ae45aa926133603b2a7456c06.tar.bz2 scala-ffa638e564f41f2ae45aa926133603b2a7456c06.zip |
Removing dead code. Change reviewed by Gilles.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 14 |
1 files changed, 0 insertions, 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 */ |