zhangyanc opened a new pull request #602: Selector parse EOF URL: https://github.com/apache/rocketmq/pull/602 ## What is the purpose of the change There are some minor errors in SelectorParser.jj, and it should work like ActiveMQ using javacc plugin ## Brief changelog - An incorrect import of LRUCache was deleted from SelectorParser.jj - Add EOF token to match the end of selector sql, so selector like "a < 10bbbbb" will fail to parse, rather than parse out (a < 10) - Changed the way quotes are compared so that there are no compile error with '\u005c' in generated SelectorParser.java - add javacc plugin to automatically generate code, so we don't have to manual generate code with javacc command line when each time of .jj updated ## Verifying this change No Java code was modified and all the exist tests passed
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
