Improve error message for LEX_001
Improve error message for LEX_003
Fix inconsistencies in error positions
Improve error message for LEX_004
Improve error message for LEX_005
Improve error message for LEX_006