diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2008-08-08 14:59:57 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2008-08-08 14:59:57 +0000 |
commit | b7e61584f63482e741a4706dbcadc363df88b844 (patch) | |
tree | 3a078d8678e18e95c627082757cf5916d09fe3fc | |
parent | 2d445ad1afe66b8b8fb9139c43f29605eb5a0877 (diff) | |
download | scala-b7e61584f63482e741a4706dbcadc363df88b844.tar.gz scala-b7e61584f63482e741a4706dbcadc363df88b844.tar.bz2 scala-b7e61584f63482e741a4706dbcadc363df88b844.zip |
Fixed the build
-rwxr-xr-x | src/compiler/scala/tools/nsc/javac/JavaParsers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/javac/JavaParsers.scala b/src/compiler/scala/tools/nsc/javac/JavaParsers.scala index f840777ab2..491d1d717e 100755 --- a/src/compiler/scala/tools/nsc/javac/JavaParsers.scala +++ b/src/compiler/scala/tools/nsc/javac/JavaParsers.scala @@ -32,7 +32,7 @@ trait JavaParsers extends JavaScanners { abstract class JavaParser { val in: JavaScanner - protected def posToReport: Int = in.currentPos + protected def posToReport: Int = in.p2g(in.currentPos) protected def freshName(pos : Position, prefix : String): Name protected implicit def i2p(offset : Int) : Position private implicit def p2i(pos : Position) = pos.offset.getOrElse(-1) |