[hibernate-commits] [hibernate/hibernate-hql-parser] 52aa40: HQLPARSER-39 Detection of unconsumed tokens must t...
GitHub
noreply at github.com
Fri Mar 14 12:04:15 EDT 2014
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-hql-parser
Commit: 52aa40bf9acb82f7fa5c55329608f764cdf16eec
https://github.com/hibernate/hibernate-hql-parser/commit/52aa40bf9acb82f7fa5c55329608f764cdf16eec
Author: Adrian Nistor <anistor at redhat.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)
Changed paths:
M parser/src/main/java/org/hibernate/hql/QueryParser.java
M parser/src/test/resources/org/hibernate/hql/ast/origin/hql/parse/gUnitHQLGrammar.testsuite
M testing/src/main/java/org/hibernate/hql/testing/internal/parser/GrammarRuleTestRunner.java
Log Message:
-----------
HQLPARSER-39 Detection of unconsumed tokens must take non-buffered tokens into account
* ensure the internal token buffer of CommonTokenStream is filled from the underlying TokenSource (lexer) before checking if any tokens are left unmatched
* detect EOF by comparing on token type rather than token text (this is just for efficiency, not actually necessary for fixing the main issue)
* add more trailing token test cases to gUnitHQLGrammar.testsuite
Commit: 652da94429764b72acf3033e3ac6ca2ed1476ec6
https://github.com/hibernate/hibernate-hql-parser/commit/652da94429764b72acf3033e3ac6ca2ed1476ec6
Author: Gunnar Morling <gunnar.morling at googlemail.com>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M parser/src/main/antlr/org/hibernate/hql/ast/origin/hql/parse/HQLParser.g
Log Message:
-----------
HQLPARSER-40 Making sure legacy "in class" syntax is supported
Commit: 1ff2ef8faaa281b7bcd3c4352eb613d040491ae2
https://github.com/hibernate/hibernate-hql-parser/commit/1ff2ef8faaa281b7bcd3c4352eb613d040491ae2
Author: Gunnar Morling <gunnar.morling at googlemail.com>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M parser/src/test/resources/org/hibernate/hql/ast/origin/hql/parse/gUnitGeneratedAST.testsuite
M parser/src/test/resources/org/hibernate/hql/ast/origin/hql/parse/gUnitHQLGrammar.testsuite
Log Message:
-----------
HQLPARSER-41 Disabling tests using exists clause with legacy join syntax
Compare: https://github.com/hibernate/hibernate-hql-parser/compare/3556fdea7d45...1ff2ef8faaa2
More information about the hibernate-commits
mailing list