* added error and warning handling (with printing) in new parser