}
public void testLexer4()
{
ByteArrayInputStream input = new ByteArrayInputStream( (new String(";; this is\n(hello there) ;; a\n;; comment\n")).getBytes() );
SymbolTable symtab = new SymbolTable();
Lexer l = new Lexer(input, symtab);
assertEquals( '(', l.token() );
int t1 = l.token();
int t2 = l.token();
assertTrue( t1 > 255 );
assertTrue( t2 > 255 );
assertEquals( ')', l.token() );
assertEquals( -1, l.token() );
assertEquals(2, symtab.size() );
assertEquals("hello", symtab.get(t1));
assertEquals("there", symtab.get(t2));
}