/**
  * Called when parsing fails
  *
  * @param   xp.compiler.io.Source src
  * @param   text.parser.generic.ParseException reason
  */
 public function parsingFailed(Source $src, \text\parser\generic\ParseException $reason)
 {
     $this->writer->writeLine($src, ': ', $reason->compoundMessage());
     $reason->printStackTrace();
 }
 /**
  * Called when parsing fails
  *
  * @param   xp.compiler.io.Source src
  * @param   text.parser.generic.ParseException reason
  */
 public function parsingFailed(Source $src, \text\parser\generic\ParseException $reason)
 {
     $this->writer->writeLine('*** @', $src, ':');
     $this->writer->writeLine($reason->compoundMessage());
 }