aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-04-17 16:40:02 +0200
committerFelix Mulder <felix.mulder@gmail.com>2017-04-17 16:40:02 +0200
commit2627c1005d32a14ab487e72514997c5664350fc7 (patch)
treecd2d9fe284466697045dce7ed62db2676080550b
parentf20ca3d358c650f6a58528018aa7d848b1f6a28f (diff)
downloaddotty-2627c1005d32a14ab487e72514997c5664350fc7.zip
dotty-2627c1005d32a14ab487e72514997c5664350fc7.tar.gz
dotty-2627c1005d32a14ab487e72514997c5664350fc7.tar.bz2
Make sure `enum` is correctly highlighted
-rw-r--r--compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala b/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
index e20f846..87ce31a 100644
--- a/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
+++ b/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
@@ -31,7 +31,7 @@ object SyntaxHighlighting {
private val tripleQs = Console.RED_B + "???" + NoColor
private val keywords: Seq[String] = for {
- index <- IF to INLINE // All alpha keywords
+ index <- IF to ENUM // All alpha keywords
} yield tokenString(index)
private val interpolationPrefixes =