[GRASS-dev] [GRASS GIS] #2457: DBF driver: stub functions for SQL TRANSACTION
GRASS GIS
trac at osgeo.org
Thu Oct 23 15:58:08 PDT 2014
#2457: DBF driver: stub functions for SQL TRANSACTION
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.5
Component: Database | Version: svn-releasebranch64
Keywords: dbf, sql | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by glynn):
> After running make in lib/db/sqlp/ there is a file lex.yy.c which has
the following line 125:
>
{{{
#define BEGIN (yy_start) = 1 + 2 *
}}}
>
> My wild guess is that this causes your problem, but I'm way out of my
league here (don't even know where this line comes from in that file),
It's part of the boilerplate code which built into flex itself.
The bottom line is that you can't use "BEGIN" as a token identifier
(REJECT, ECHO and INITIAL are also unavailable; the other macro names are
unlikely to result in innocent collisions). Add a trailing underscore or
change the case to avoid a conflict.
Also the patch attempts to define the TRANSACTION token twice:
{{{
%token BEGIN TRANSACTION
%token COMMIT TRANSACTION
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2457#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list