From 3b0cd11f980a48b903262c857fde1cd9c784c2e0 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 10 Oct 2013 23:56:05 +0200 Subject: Added support for blocks (parsed as multiline strings) in libconfig - If this doesn't make any sense right now, fear not. It'll make sense in an upcoming update. - Special thanks to Yommy, Ind. Signed-off-by: Haru --- 3rdparty/libconfig/scanner.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '3rdparty/libconfig/scanner.h') diff --git a/3rdparty/libconfig/scanner.h b/3rdparty/libconfig/scanner.h index da1134498..181bc5c94 100644 --- a/3rdparty/libconfig/scanner.h +++ b/3rdparty/libconfig/scanner.h @@ -226,6 +226,7 @@ void libconfig_yyfree (void * ,yyscan_t yyscanner ); #define COMMENT 1 #define STRING 2 #define INCLUDE 3 +#define SCRIPTBLOCK 4 #endif @@ -333,8 +334,8 @@ extern int libconfig_yylex \ #undef YY_DECL #endif -#line 197 "scanner.l" +#line 205 "scanner.l" -#line 339 "scanner.h" +#line 340 "scanner.h" #undef libconfig_yyIN_HEADER #endif /* libconfig_yyHEADER_H */ -- cgit v1.2.3-60-g2f50