See below

Fixed lexer
Got rid of warnings