summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-10-01 16:06:25 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-10-01 16:06:25 +0000
commitb9343703f5d6d2ed8482bf6445da638274c8767a (patch)
tree999710bee377d3cbe50c299a83a40f401376a247 /src
parentb320b6cf5231fe92b53db8f9ff540de6cd3580cf (diff)
downloadscala-b9343703f5d6d2ed8482bf6445da638274c8767a.tar.gz
scala-b9343703f5d6d2ed8482bf6445da638274c8767a.tar.bz2
scala-b9343703f5d6d2ed8482bf6445da638274c8767a.zip
Needed parens because the precendence wasn't wo...
Needed parens because the precendence wasn't working out correctly.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/util/NameTransformer.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/util/NameTransformer.scala b/src/compiler/scala/tools/nsc/util/NameTransformer.scala
index f57334e362..a48558029a 100644
--- a/src/compiler/scala/tools/nsc/util/NameTransformer.scala
+++ b/src/compiler/scala/tools/nsc/util/NameTransformer.scala
@@ -111,8 +111,8 @@ object NameTransformer {
* not valid Java/JVM identifiers */
} else if ((len - i) >= 6 && // Check that there are enough characters left
ch1 == 'u' &&
- (Character.isDigit(ch2)) ||
- ('A' <= ch2 && ch2 <= 'F')) {
+ ((Character.isDigit(ch2)) ||
+ ('A' <= ch2 && ch2 <= 'F'))) {
/* Skip past "$u", next four should be hexadecimal */
val hex = name.substring(i+2, i+6)
try {