[DoXQuery-Devel] doxquery/src/com/doxological/doxquery/parser BaseXQueryParser.java,1.6,1.7
Status: Pre-Alpha
Brought to you by:
jpcs
From: John S. <jp...@us...> - 2005-05-06 01:19:03
|
Update of /cvsroot/doxquery/doxquery/src/com/doxological/doxquery/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11861/src/com/doxological/doxquery/parser Modified Files: BaseXQueryParser.java Log Message: Fixed bug #1196090, an issue with the lexer and comments in certain positions. Added a functional regression test suits for the parser, which compares query AST output to the expected results. The tests can be built using the ant target "compile_test", and run using the target "test". Index: BaseXQueryParser.java =================================================================== RCS file: /cvsroot/doxquery/doxquery/src/com/doxological/doxquery/parser/BaseXQueryParser.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** BaseXQueryParser.java 31 Mar 2005 01:23:20 -0000 1.6 --- BaseXQueryParser.java 6 May 2005 01:18:52 -0000 1.7 *************** *** 59,62 **** --- 59,64 ---- grammar_ = new XQueryGrammar((Reader)null); grammar_.setEnvironment(env); + grammar_.setNormaliser(new Normaliser()); + grammar_.setStaticAnalyser(new StaticAnalyser()); optimisers_ = new LinkedList<Optimiser>(); env_ = env; |