mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
viml/parser/expressions: Define east_node_type_tab only when needed
This commit is contained in:
parent
4ccaf86110
commit
2cb95bd937
@ -725,6 +725,7 @@ viml_pexpr_repr_token_end:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef UNIT_TESTING
|
||||||
static const char *const east_node_type_tab[] = {
|
static const char *const east_node_type_tab[] = {
|
||||||
[kExprNodeMissing] = "Missing",
|
[kExprNodeMissing] = "Missing",
|
||||||
[kExprNodeOpMissing] = "OpMissing",
|
[kExprNodeOpMissing] = "OpMissing",
|
||||||
@ -765,6 +766,7 @@ static const char *const east_node_type_tab[] = {
|
|||||||
[kExprNodeOption] = "Option",
|
[kExprNodeOption] = "Option",
|
||||||
[kExprNodeEnvironment] = "Environment",
|
[kExprNodeEnvironment] = "Environment",
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
/// Represent `int` character as a string
|
/// Represent `int` character as a string
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user