1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

Add Throw to defaultCategoryForNodeName

This commit is contained in:
joshvera 2016-07-29 15:33:15 -04:00
parent e9a02c219d
commit b97da37c79

View File

@ -81,6 +81,7 @@ defaultCategoryForNodeName name = case name of
"while_statement" -> While "while_statement" -> While
"do_statement" -> DoWhile "do_statement" -> DoWhile
"return_statement" -> Return "return_statement" -> Return
"throw_statement" -> Throw
_ -> Other name _ -> Other name
-- | Return a parser for a tree sitter language & document. -- | Return a parser for a tree sitter language & document.