hacksql team mailing list archive
-
hacksql team
-
Mailing list archive
-
Message #00008
Re: Parser issues?
BTW, you can check the code on my branch
http://bazaar.launchpad.net/~typoon/hacksql/gilgamesh/revision/31
:)
On Sat, Feb 28, 2009 at 12:09 AM, Henrique M. Decaria <typoon@xxxxxxxxx>wrote:
> Felipe,
>
> While trying to use the parser, I am getting the following errors:
>
> Parsing query select campo from tabela;
> Error: syntax error, unexpected $undefined, expecting $end
>
> Parsing query select sqrt from xpto;
> Error: syntax error, unexpected $undefined, expecting $end
>
> Parsing query create table oie;
> Error: syntax error, unexpected T_TABLE
>
> Are you facing the same errors, or did I compile the parser incorrectly?
>
> Higor,
>
> Are you planning on adding the parser to the Makefile? Right now I am
> compiling the server manually to link against the parser:
> gcc hacksqld.c ../../hacksql/hs_sql_scanner.o ../../hacksql/hs_sql_parser.o
> -o hacksqld2 -I../../
>
> Gambiarra nao! Ajuste tecnico para minhas necessidades :)
>
> I'll probably be sleeping when you read this, so reply when you can :)
>
> Thanks!
>
> Henrique
>
References