Index: ossp-pkg/cfg/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/cfg/ChangeLog,v rcsdiff -q -kk '-r1.15' '-r1.16' -u '/v/ossp/cvs/ossp-pkg/cfg/ChangeLog,v' 2>/dev/null --- ChangeLog 2004/11/20 11:34:52 1.15 +++ ChangeLog 2004/11/20 11:42:21 1.16 @@ -10,6 +10,10 @@ Changes between 0.9.3 and 0.9.4 (23-Apr-2003 to xx-Nov-2004): + *) Do not let Flex generate the unused yyunput() and yy_top_state() + functions in order to shut up compilation warnings. + [Ralf S. Engelschall ] + *) Return an empty string instead of NULL from internal cfg_buf_content() function to not make visible to the caller the implementation special case of an initial buffer. Index: ossp-pkg/cfg/cfg_syn_scan.l RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg_syn_scan.l,v rcsdiff -q -kk '-r1.18' '-r1.19' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg_syn_scan.l,v' 2>/dev/null --- cfg_syn_scan.l 2004/07/17 07:37:55 1.18 +++ cfg_syn_scan.l 2004/11/20 11:42:21 1.19 @@ -44,7 +44,6 @@ #define CTX ((cfg_syn_ctx_t *)yyget_extra(yyscanner)) /* provide own input handling */ -#define YY_NO_UNPUT 1 #undef YY_INPUT #define YY_INPUT(buf,result,max_size) (result = yyinput(CTX, buf, max_size)) static int yyinput(cfg_syn_ctx_t *ctx, char *buf, int max_size); @@ -72,6 +71,8 @@ %option bison-locations %option never-interactive %option noyywrap +%option nounput +%option noyy_top_state /* scanner states */ %x SS_DQ