[GRASS5] PATCH: sql expression parser

Glynn Clements glynn at gclements.plus.com
Tue Jun 14 02:46:41 EDT 2005


Paul Kelly wrote:

> When we go to compile lex.yy.c however there are further errors:

> lex.l:256: error: `YY_CURRENT_BUFFER' undeclared (first use in this function)
> lex.l:256: error: (Each undeclared identifier is reported only once
> lex.l:256: error: for each function it appears in.)

I suspect that needs to be conditionalised, e.g.

#ifdef YY_CURRENT_BUFFER
	yy_flush_buffer(YY_CURRENT_BUFFER);
#endif

The rest are just warnings.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list