diff options
author | Haru <haru@dotalux.com> | 2016-05-07 19:13:30 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-11-19 21:08:10 +0100 |
commit | acb03e7acb8b83cf709e71c499da5b2c5eba5d11 (patch) | |
tree | c16944ce34ddaef627ecdfcd343f6d386fd33281 /3rdparty/libconfig/extra | |
parent | 20b44f8fcaff75657386783c2696ca9dc2cbc7d6 (diff) | |
download | hercules-acb03e7acb8b83cf709e71c499da5b2c5eba5d11.tar.gz hercules-acb03e7acb8b83cf709e71c499da5b2c5eba5d11.tar.bz2 hercules-acb03e7acb8b83cf709e71c499da5b2c5eba5d11.tar.xz hercules-acb03e7acb8b83cf709e71c499da5b2c5eba5d11.zip |
Re-generate libconfig with Bison 3.0.4 (still using Flex 2.6.0)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to '3rdparty/libconfig/extra')
-rw-r--r-- | 3rdparty/libconfig/extra/gen/clangwarnings.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/libconfig/extra/gen/clangwarnings.patch b/3rdparty/libconfig/extra/gen/clangwarnings.patch index c3b45ef33..11e6028b6 100644 --- a/3rdparty/libconfig/extra/gen/clangwarnings.patch +++ b/3rdparty/libconfig/extra/gen/clangwarnings.patch @@ -2,14 +2,14 @@ diff --git a/grammar.c b/grammar.c index 3595578..26444f8 100644 --- a/grammar.c +++ b/grammar.c -@@ -1211,9 +1211,7 @@ void libconfig_yyerror(void *scanner, struct parse_context *ctx, +@@ -1084,9 +1084,7 @@ void libconfig_yyerror(void *scanner, struct parse_context *ctx, + YYUSE (scanner); YYUSE (ctx); YYUSE (scan_ctx); - - if (!yymsg) - yymsg = "Deleting"; - YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); -+ YY_SYMBOL_PRINT (yymsg ? yymsg : "Deleting", yytype, yyvaluep, yylocationp); ++ YY_SYMBOL_PRINT (yymsg != NULL ? yymsg : "Deleting", yytype, yyvaluep, yylocationp); + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN YYUSE (yytype); - } |