[antlr-interest] Bug in 3.4.1 Python target

Juancarlo Añez apalala at gmail.com
Thu Nov 8 04:01:58 PST 2012


In CommonTokenSource.fillBuffer it reads:

                if overrideChannel == self.channel:
                    t.channel = overrideChannel
                else:
                    discard = True

Which discards every token for which the channel has been overridden.

-- 
Juancarlo *Añez*


More information about the antlr-interest mailing list