depress compiler warnings

This commit is contained in:
Yuichi Nishiwaki 2013-10-12 18:46:41 +09:00
parent e4be084b0e
commit 3eefa2669f
3 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,6 @@ struct parser_control {
pic_value value; pic_value value;
}; };
#define YYDEBUG 1
%} %}
%parse-param {struct parser_control *p} %parse-param {struct parser_control *p}

View File

@ -12,6 +12,8 @@ struct parser_control {
#define YY_DECL int yylex (struct parser_control *p) #define YY_DECL int yylex (struct parser_control *p)
%} %}
%option nounput
%% %%
[ \t\n\r] /* skip whitespace */ [ \t\n\r] /* skip whitespace */

View File

@ -1,3 +1,5 @@
#include <stdlib.h>
#include "picrin.h" #include "picrin.h"
enum pic_tt enum pic_tt