diff options
author | Dmitry Petrashko <dark@d-d.me> | 2016-03-15 10:16:36 +0100 |
---|---|---|
committer | Dmitry Petrashko <dark@d-d.me> | 2016-03-15 10:16:36 +0100 |
commit | 16f0bea7e4169ab89eddf2e7bae1de08ded3c84b (patch) | |
tree | 1bda384eaf8e7164b5699beb2a39b8d092669357 /src | |
parent | b01a9c0e94284b9b5d2d6aa55d872ed92e5bc192 (diff) | |
parent | 0ef358414f5f63c2a819dab691d41197c7f2d2be (diff) | |
download | dotty-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.scala | 4 |
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") |