ripping out the old lexer and putting in one based on ply.lex. nothing works.