Skip to content

Commit

Permalink
Merge pull request #119 from iantabolt/master
Browse files Browse the repository at this point in the history
Add remaining scala keywords
  • Loading branch information
SandroGrzicic committed Nov 24, 2015
2 parents 12979b7 + 38f18eb commit 7928eb3
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ object BuffedString {
* Reserved scala keywords that require backticks
*/
val scalaReserved =
Set("type", "val", "def", "else", "if", "object",
"yield", "for", "import", "match", "case", "lazy",
"var", "class", "package", "extends")
Set("abstract", "case", "catch", "class", "def", "do", "else",
"extends", "false", "final", "finally", "for", "forSome",
"if", "implicit", "import", "lazy", "macro", "match",
"new", "null", "object", "override", "package", "private",
"protected", "return", "sealed", "super", "then", "this",
"throw", "trait", "true", "try", "type", "val", "var",
"while", "with", "yield")
}

0 comments on commit 7928eb3

Please sign in to comment.