Hi Zhijie, QueryLexer.tokens is generated automatically by ANTLR, so you should not touch it. What you should do is to modify QueryLexer.g in order to include a Boolean token declaration. Also, you should modify QueryParser.g and all the other grammar (.g) files to accept boolean expressions.
Cheers, -- Gianmarco De Francisci Morales On Sun, Jul 24, 2011 at 16:32, Zhijie Shen (JIRA) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/PIG-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Zhijie Shen updated PIG-1429: > ----------------------------- > > Attachment: PIG-1429_1.patch > > 2. Similarly, in QueryLexer.tokens, what is the rule to assigne a value to > a token? Again what should be assigned to Boolean? > >