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:
parent
10b424cd47
commit
0f924f786c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user