Skip to content

Commit 16f0bea

Browse files
committed
Merge pull request #1178 from liufengyun/tokens-fix
make token declarations consistent
2 parents b01a9c0 + 0ef3584 commit 16f0bea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/parsing/Tokens.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ abstract class TokensCommon {
9494

9595
/** special symbols */
9696
final val COMMA = 70; enter(COMMA, "','")
97-
final val SEMI = 71; enter(DOT, "'.'")
98-
final val DOT = 72; enter(SEMI, "';'")
97+
final val SEMI = 71; enter(SEMI, "';'")
98+
final val DOT = 72; enter(DOT, "'.'")
9999
//final val NEWLINE = 78; enter(NEWLINE, "end of statement", "new line")
100100
//final val NEWLINES = 79; enter(NEWLINES, "end of statement", "new lines")
101101

0 commit comments

Comments
 (0)