bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/5] Advise flex not to generate the input function


From: Samuel Thibault
Subject: Re: [PATCH 1/5] Advise flex not to generate the input function
Date: Mon, 2 Dec 2013 13:03:56 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Mon 02 Dec 2013 10:58:15 +0100, a écrit :
> This avoids a warning about input being unused.
> 
> * lexxer.l: Define YY_NO_INPUT.

Ack.

> ---
>  lexxer.l |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/lexxer.l b/lexxer.l
> index 6686b55..5f2f61e 100644
> --- a/lexxer.l
> +++ b/lexxer.l
> @@ -50,6 +50,9 @@ FileName    ({QString}|{AString})
>  #include "lexxer.h"
>  #include "cpu.h"
>  
> +/* We do not need the input function.  */
> +#define YY_NO_INPUT
> +
>  #define      stringize(x)    #x
>  
>  #ifdef       LDEBUG
> -- 
> 1.7.10.4
> 
> 

-- 
Samuel
 Yep. Moi j'ai un clavier à une touche. 
 Par contre, ma souris a 102 boutons, c'est pas toujours pratique.
 -+- OG in: Guide du Cabaliste Usenet - Le mulot contre attaque -+-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]