updated lexer header

almost have these segfaults figured out.