Rename TreeOptionsWrapper -> TreeOptionsSingleton

This commit is contained in:
Max Brunsfeld 2015-08-16 10:32:12 -07:00
parent b853e0f2eb
commit 553ef6674f
2 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ TSTree *ts_tree_make_node(TSSymbol symbol, size_t child_count,
options |= TSTreeOptionsHidden;
if (child_count == 1 && symbol != ts_builtin_sym_document &&
(ts_tree_is_visible(children[0]) || ts_tree_is_wrapper(children[0])))
options |= (TSTreeOptionsWrapper | TSTreeOptionsHidden);
options |= (TSTreeOptionsSingleton | TSTreeOptionsHidden);
if (child_count > 0) {
if (ts_tree_is_fragile_left(children[0]))
options |= (TSTreeOptionsFragileLeft);