diff options
author | James Iry <jamesiry@gmail.com> | 2013-03-05 08:24:13 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-03-05 08:24:13 -0800 |
commit | c4341385629bd114b61c55103f1d83f26dce22f9 (patch) | |
tree | 57f7df94be3644efa0362ab2893f3fe94b26ce9a /src/compiler/scala/tools/nsc/Global.scala | |
parent | 80e29e580cbfc93633e730f4a185b6efcd526568 (diff) | |
parent | 6898c9fd6c3ffb975e07cdcc5619f8e771e21ac0 (diff) | |
download | scala-c4341385629bd114b61c55103f1d83f26dce22f9.tar.gz scala-c4341385629bd114b61c55103f1d83f26dce22f9.tar.bz2 scala-c4341385629bd114b61c55103f1d83f26dce22f9.zip |
Merge pull request #2197 from paulp/pr/integrate-range-positions
Integrate range positions.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 4e5f4faf51..771d3bb8bb 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -42,6 +42,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter) // the mirror -------------------------------------------------- override def isCompilerUniverse = true + override val useOffsetPositions = !currentSettings.Yrangepos.value class GlobalMirror extends Roots(NoSymbol) { val universe: self.type = self |