Allegro#: Fixed several bug found in LexicalProcessor