Parser phases

Added a phase distinction in error messages between between the inner and outer parsers.