aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2016-03-15 10:16:36 +0100
committerDmitry Petrashko <dark@d-d.me>2016-03-15 10:16:36 +0100
commit16f0bea7e4169ab89eddf2e7bae1de08ded3c84b (patch)
tree1bda384eaf8e7164b5699beb2a39b8d092669357 /src
parentb01a9c0e94284b9b5d2d6aa55d872ed92e5bc192 (diff)
parent0ef358414f5f63c2a819dab691d41197c7f2d2be (diff)
downloaddotty-16f0bea7e4169ab89eddf2e7bae1de08ded3c84b.tar.gz
dotty-16f0bea7e4169ab89eddf2e7bae1de08ded3c84b.tar.bz2
dotty-16f0bea7e4169ab89eddf2e7bae1de08ded3c84b.zip
Merge pull request #1178 from liufengyun/tokens-fix
make token declarations consistent
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/parsing/Tokens.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/parsing/Tokens.scala b/src/dotty/tools/dotc/parsing/Tokens.scala
index 190226635..b490cd133 100644
--- a/src/dotty/tools/dotc/parsing/Tokens.scala
+++ b/src/dotty/tools/dotc/parsing/Tokens.scala
@@ -94,8 +94,8 @@ abstract class TokensCommon {
/** special symbols */
final val COMMA = 70; enter(COMMA, "','")
- final val SEMI = 71; enter(DOT, "'.'")
- final val DOT = 72; enter(SEMI, "';'")
+ final val SEMI = 71; enter(SEMI, "';'")
+ final val DOT = 72; enter(DOT, "'.'")
//final val NEWLINE = 78; enter(NEWLINE, "end of statement", "new line")
//final val NEWLINES = 79; enter(NEWLINES, "end of statement", "new lines")