Parser error and warning message work