settings: Include generated header after others
Newer Bison versions declare the parser function in the header, which requires custom types.
This commit is contained in:
@@ -14,10 +14,10 @@
|
|||||||
* for more details.
|
* for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "settings_parser.h"
|
|
||||||
|
|
||||||
#include <utils/parser_helper.h>
|
#include <utils/parser_helper.h>
|
||||||
|
|
||||||
|
#include "settings_parser.h"
|
||||||
|
|
||||||
bool settings_parser_open_next_file(parser_helper_t *ctx);
|
bool settings_parser_open_next_file(parser_helper_t *ctx);
|
||||||
|
|
||||||
static void include_files(parser_helper_t *ctx);
|
static void include_files(parser_helper_t *ctx);
|
||||||
|
|||||||
@@ -17,13 +17,13 @@
|
|||||||
#define _GNU_SOURCE /* for asprintf() */
|
#define _GNU_SOURCE /* for asprintf() */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "settings_parser.h"
|
|
||||||
|
|
||||||
#include <library.h>
|
#include <library.h>
|
||||||
#include <collections/array.h>
|
#include <collections/array.h>
|
||||||
#include <settings/settings_types.h>
|
#include <settings/settings_types.h>
|
||||||
#include <utils/parser_helper.h>
|
#include <utils/parser_helper.h>
|
||||||
|
|
||||||
|
#include "settings_parser.h"
|
||||||
|
|
||||||
#define YYDEBUG 1
|
#define YYDEBUG 1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user