diff options
author | dundargoc <gocdundar@gmail.com> | 2022-10-21 16:43:03 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2022-10-21 16:46:03 +0200 |
commit | abf758a2977c4e6cab4dfa217f56da853d85851c (patch) | |
tree | 39076e5bd63519a578dd51883251c9314071da9d /src/nvim/viml/parser/parser.h | |
parent | 837190720310deca0231fc42aa3023957ff79a3a (diff) | |
download | rneovim-abf758a2977c4e6cab4dfa217f56da853d85851c.tar.gz rneovim-abf758a2977c4e6cab4dfa217f56da853d85851c.tar.bz2 rneovim-abf758a2977c4e6cab4dfa217f56da853d85851c.zip |
refactor: fix uncrustify lint errors
Diffstat (limited to 'src/nvim/viml/parser/parser.h')
-rw-r--r-- | src/nvim/viml/parser/parser.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/nvim/viml/parser/parser.h b/src/nvim/viml/parser/parser.h index 5e1cf9c6d8..56e8b2d32b 100644 --- a/src/nvim/viml/parser/parser.h +++ b/src/nvim/viml/parser/parser.h @@ -127,8 +127,7 @@ static inline void viml_parser_destroy(ParserState *const pstate) kvi_destroy(pstate->stack); } -static inline void viml_preader_get_line(ParserInputReader *preader, - ParserLine *ret_pline) +static inline void viml_preader_get_line(ParserInputReader *preader, ParserLine *ret_pline) REAL_FATTR_NONNULL_ALL; /// Get one line from ParserInputReader @@ -152,8 +151,7 @@ static inline void viml_preader_get_line(ParserInputReader *const preader, *ret_pline = pline; } -static inline bool viml_parser_get_remaining_line(ParserState *pstate, - ParserLine *ret_pline) +static inline bool viml_parser_get_remaining_line(ParserState *pstate, ParserLine *ret_pline) REAL_FATTR_ALWAYS_INLINE REAL_FATTR_WARN_UNUSED_RESULT REAL_FATTR_NONNULL_ALL; /// Get currently parsed line, shifted to pstate->pos.col @@ -178,8 +176,7 @@ static inline bool viml_parser_get_remaining_line(ParserState *const pstate, return ret_pline->data != NULL; } -static inline void viml_parser_advance(ParserState *pstate, - size_t len) +static inline void viml_parser_advance(ParserState *pstate, size_t len) REAL_FATTR_ALWAYS_INLINE REAL_FATTR_NONNULL_ALL; /// Advance position by a given number of bytes @@ -200,9 +197,7 @@ static inline void viml_parser_advance(ParserState *const pstate, const size_t l } } -static inline void viml_parser_highlight(ParserState *pstate, - ParserPosition start, - size_t len, +static inline void viml_parser_highlight(ParserState *pstate, ParserPosition start, size_t len, const char *group) REAL_FATTR_ALWAYS_INLINE REAL_FATTR_NONNULL_ALL; |