diff options
Diffstat (limited to 'src/nvim/viml/parser')
-rw-r--r-- | src/nvim/viml/parser/expressions.c | 2 | ||||
-rw-r--r-- | src/nvim/viml/parser/expressions.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/viml/parser/expressions.c b/src/nvim/viml/parser/expressions.c index 39687a8e8d..4f028fa87f 100644 --- a/src/nvim/viml/parser/expressions.c +++ b/src/nvim/viml/parser/expressions.c @@ -1525,7 +1525,6 @@ static inline void east_set_error(const ParserState *const pstate, ExprASTError assert(want_node == kENodeOperator); \ /* Operator: may only be curly braces name, but only under certain */ \ /* conditions. */ \ -\ /* First condition is that there is no space before a part of complex */ \ /* identifier. */ \ if (prev_token.type == kExprLexSpacing) { \ @@ -1534,7 +1533,6 @@ static inline void east_set_error(const ParserState *const pstate, ExprASTError switch ((*top_node_p)->type) { \ /* Second is that previous node is one of the identifiers: */ \ /* complex, plain, curly braces. */ \ -\ /* TODO(ZyX-I): Extend syntax to allow ${expr}. This is needed to */ \ /* handle environment variables like those bash uses for */ \ /* `export -f`: their names consist not only of alphanumeric */ \ diff --git a/src/nvim/viml/parser/expressions.h b/src/nvim/viml/parser/expressions.h index 325df643e7..fe9327b27d 100644 --- a/src/nvim/viml/parser/expressions.h +++ b/src/nvim/viml/parser/expressions.h @@ -361,7 +361,7 @@ typedef struct { typedef struct { /// When AST is not correct this message will be printed. /// - /// Uses `emsgf(msg, arg_len, arg);`, `msg` is assumed to contain only `%.*s`. + /// Uses `semsg(msg, arg_len, arg);`, `msg` is assumed to contain only `%.*s`. ExprASTError err; /// Root node of the AST. ExprASTNode *root; |