using System; using gppg; using System.Text; namespace NewLanguage { public class ErrorHandler { public void Report(SourceLocation at, string msg, params object[] args) { StringBuilder fullmsg = new StringBuilder(); throw new ParseFailedException(at, String.Format("Error {0}: {1}", at.ToString(), String.Format(msg, args))); } } }