yacker: sql validation results

Validating against the sql grammar. See

Validation errors:

expected "IT_ALTER | IT_CREATE | IT_DROP | IT_INSERT | IT_LOCK | IT_SELECT | IT_UNLOCK", got (STRING_LITERAL2, "INSERT into uporabniki (geslo) VALUES('$geslo') WHERE id='$id'") from ""INSERT into uporabniki (geslo) VALUES('$geslo') WHERE id='$id'"" at offset 0.

Trace:

STRING_LITERAL2 "INSERT into uporabniki (geslo) VALUES('$geslo') WHERE id='$id'"

Input some text to test:

make: Entering directory `/usr/local/yacker/W3C/Grammar/bin/uploads/sql'
bison -d -o sqlParser.c sqlParser.y
gcc -g  -I . -I/incl -c  sqlParser.c
flex  -osqlScanner.c -Psql_ sqlScanner.l
gcc -g  -I . -I/incl -c  sqlScanner.c
gcc -Wno-deprecated -g -o sql sqlParser.o sqlScanner.o
make: Leaving directory `/usr/local/yacker/W3C/Grammar/bin/uploads/sql'

Edit this grammar.

with seed . with limit . and ascii weight (0-100).

Show grammar.


Eric Prud'hommeaux <eric+yacker@w3.org>
$Id: yacker,v 1.86 2015-03-09 15:03:43 gerald Exp $
$Id: Presenter.pm,v 1.42 2013-12-10 19:19:53 brett Exp $

Valid XHTML 1.0!