aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/viml/parser/expressions.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-02-23 16:03:24 +0100
committerGitHub <noreply@github.com>2020-02-23 16:03:24 +0100
commitc036e24f39481f2b7872659c076b53435192003d (patch)
tree423c777bce97daa7f490950aaf48fb1a0efca979 /src/nvim/viml/parser/expressions.h
parent7591fafd764e9dbcdfe3b28f03fe3c84de893c9e (diff)
parent0504f2f88dac9a4cf1fe1052a1e00ab203e9cf8e (diff)
downloadrneovim-c036e24f39481f2b7872659c076b53435192003d.tar.gz
rneovim-c036e24f39481f2b7872659c076b53435192003d.tar.bz2
rneovim-c036e24f39481f2b7872659c076b53435192003d.zip
Merge pull request #11890 from cryptomilk/master-gcc10-fno-common
Fix issues revealed by gcc10 setting -fno-common by default
Diffstat (limited to 'src/nvim/viml/parser/expressions.h')
-rw-r--r--src/nvim/viml/parser/expressions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/viml/parser/expressions.h b/src/nvim/viml/parser/expressions.h
index 23e172da75..838a742271 100644
--- a/src/nvim/viml/parser/expressions.h
+++ b/src/nvim/viml/parser/expressions.h
@@ -326,7 +326,7 @@ struct expr_ast_node {
} data;
};
-enum {
+enum ExprParserFlags {
/// Allow multiple expressions in a row: e.g. for :echo
///
/// Parser will still parse only one of them though.
@@ -345,7 +345,7 @@ enum {
// viml_expressions_parser.c, nvim_parse_expression() flags parsing
// alongside with its documentation and flag sets in check_parsing()
// function in expressions parser functional and unit tests.
-} ExprParserFlags;
+};
/// AST error definition
typedef struct {