1import unittest
2import textwrap
3import antlr3
4import testbase
5
6class T(testbase.ANTLRTest):
7
8    def testbug(self):
9        self.compileGrammar()
10
11        cStream = antlr3.StringStream("public fooze")
12        lexer = self.getLexer(cStream)
13        tStream = antlr3.CommonTokenStream(lexer)
14        parser = self.getParser(tStream)
15
16        parser.r()
17
18
19if __name__ == '__main__':
20    unittest.main()
21
22