Merge pull request #347 from qlyoung/ignore-flex-sign-error

lib: add #pragma to ignore flex sign cmp error
This commit is contained in:
Renato Westphal 2017-04-07 18:48:14 -03:00 committed by GitHub
commit 73a9e6d2a5

View File

@ -23,6 +23,9 @@
*/ */
%{ %{
/* ignore harmless bug in old versions of flex */
#pragma GCC diagnostic ignored "-Wsign-compare"
#include "command_parse.h" #include "command_parse.h"
#define YY_USER_ACTION yylloc->last_column += yyleng; #define YY_USER_ACTION yylloc->last_column += yyleng;