Hi Jiri,

this patch does not have Signed-Off-By, would you mind re-sending it?

Jan

On 02/28/2011 05:40 PM, Jiri Slaby wrote:
> Add a lex option to avoid:
> lex.c:1173:17: warning: ‘yyunput’ defined but not used
> lex.c:1214:16: warning: ‘input’ defined but not used
> ---
>  src/lex.l |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/lex.l b/src/lex.l
> index d590e9f..8a99bbc 100644
> --- a/src/lex.l
> +++ b/src/lex.l
> @@ -21,6 +21,8 @@ int line_no = 1;
>  #define YY_FATAL_ERROR(msg) fprintf(stderr, "%s\n", msg)
>  %}
>  
> +%option nounput noinput
> +
>  %%
>  \n   {line_no++;}
>  [ \t]        {/* DO NOTHING */}


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to