summaryrefslogtreecommitdiff
path: root/3rdparty/libconfig/scanner.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-10-10 23:56:05 +0200
committerHaru <haru@dotalux.com>2013-11-03 20:45:36 +0100
commit3b0cd11f980a48b903262c857fde1cd9c784c2e0 (patch)
tree2882d9e0958b57544e3135f928e4df2328958d0a /3rdparty/libconfig/scanner.h
parent6728c0fa88b84fccb6f179ae13cf8a15c1ea23a4 (diff)
downloadhercules-3b0cd11f980a48b903262c857fde1cd9c784c2e0.tar.gz
hercules-3b0cd11f980a48b903262c857fde1cd9c784c2e0.tar.bz2
hercules-3b0cd11f980a48b903262c857fde1cd9c784c2e0.tar.xz
hercules-3b0cd11f980a48b903262c857fde1cd9c784c2e0.zip
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 <haru@dotalux.com>
Diffstat (limited to '3rdparty/libconfig/scanner.h')
-rw-r--r--3rdparty/libconfig/scanner.h5
1 files changed, 3 insertions, 2 deletions
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 */