1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00

Assign the Error category.

This commit is contained in:
Rob Rix 2016-06-03 18:38:04 -04:00
parent 10b424cd47
commit 0f924f786c

View File

@ -38,6 +38,7 @@ categoriesForLanguage language name = case (language, name) of
defaultCategoryForNodeName :: String -> Category
defaultCategoryForNodeName name = case name of
"program" -> Program
"ERROR" -> Error
"function_call" -> FunctionCall
"pair" -> Pair
"string" -> StringLiteral