aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/viml/parser/parser.c
blob: a41b750e76311412a468638ab6b4beea9bbba646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This is an open source non-commercial project. Dear PVS-Studio, please check
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

#include "nvim/viml/parser/parser.h"

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "viml/parser/parser.c.generated.h"
#endif

void parser_simple_get_line(void *cookie, ParserLine *ret_pline)
{
  ParserLine **plines_p = (ParserLine **)cookie;
  *ret_pline = **plines_p;
  (*plines_p)++;
}