summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-11-30 15:14:11 +0000
committerPaul Phillips <paulp@improving.org>2009-11-30 15:14:11 +0000
commite73ce61377783a1494be7a748693457656826d95 (patch)
treef7698bdb147b62f2e8768b6f7d660776a23a35ab
parentc6bc2a97a626f1b2f35ccd62142935d784912fa4 (diff)
downloadscala-e73ce61377783a1494be7a748693457656826d95.tar.gz
scala-e73ce61377783a1494be7a748693457656826d95.tar.bz2
scala-e73ce61377783a1494be7a748693457656826d95.zip
Fix for #2736 (scanner not advancing on unicode...
Fix for #2736 (scanner not advancing on unicode identifier.)
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Scanners.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala b/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala
index 9648735a15..06e9e687b3 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala
@@ -383,6 +383,7 @@ trait Scanners {
getIdentRest()
} else if (isSpecial(ch)) {
putChar(ch)
+ nextChar()
getOperatorRest()
} else {
syntaxError("illegal character")