Re: [Flex-help] warning: �yyunput� defined but not used
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Mike M. <mi...@su...> - 2008-06-02 23:29:16
|
On Mon, Jun 02, 2008 at 07:24:19PM -0400, Yang Zhang wrote: > Hi, I'm trying to generate a lexer and compile it with gcc -Wall, but I > get the below warning. Is there any way to avoid this warning without > disabling the warning or manually touching up the generated sources? > Thanks in advance! Yes, put this in your flex source: %option nounput Then the function doesn't get generated. -- Mike Mueller mi...@su... |