Thomas's ematch fixes for lex.
Fix more GCC signedness warnings.
9 files changed