diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-06-15 12:42:38 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-06-15 12:42:38 +0000 |
commit | f451a2fc8de6a06cf7c42a2df811168253d2911a (patch) | |
tree | 394384441c993da519d6a4b821dc49bd62211f07 /src | |
parent | ab1b5de53f5dd0c22d7213b41b9f2515bc8f8bbf (diff) | |
download | scala-f451a2fc8de6a06cf7c42a2df811168253d2911a.tar.gz scala-f451a2fc8de6a06cf7c42a2df811168253d2911a.tar.bz2 scala-f451a2fc8de6a06cf7c42a2df811168253d2911a.zip |
Requite the keyowrd 'val' in the extended attri...
Requite the keyowrd 'val' in the extended attribute syntax
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index c0eb751e06..5107db14ee 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -1792,6 +1792,7 @@ trait Parsers requires SyntaxAnalyzer { */ def attribute(): Tree = { def nameValuePair(): Tree = { + accept(VAL); var pos = in.currentPos; val aname = atPos(pos) { Ident(ident()) } accept(EQUALS); |