protected override bool Add(int id, string message, ErrorSeverity severity, int group, string /*!*/ fullPath, ErrorPosition pos) { Debug.Assert(fullPath != null); PhpException.ThrowByWebCompiler(severity.ToPhpCompileError(), id, fullPath, pos.FirstLine, pos.FirstColumn, message); return(true); }
protected override bool Add(int id, string message, ErrorSeverity severity, int group, string /*!*/ fullPath, ErrorPosition pos) { Debug.Assert(fullPath != null); // first line column adjustment: if (pos.FirstLine == 1) { pos.FirstColumn += firstLineColumnDisplacement; } Debug.WriteLine("!!!3", message); PhpException.ThrowByEval(severity.ToPhpCompileError(), fullPath, pos.FirstLine, pos.FirstColumn, message); return(true); }
protected override bool Add(int id, string message, ErrorSeverity severity, int group, string/*!*/ fullPath, ErrorPosition pos) { Debug.Assert(fullPath != null); PhpException.ThrowByWebCompiler(severity.ToPhpCompileError(), id, fullPath, pos.FirstLine, pos.FirstColumn, message); return true; }
protected override bool Add(int id, string message, ErrorSeverity severity, int group, string/*!*/ fullPath, ErrorPosition pos) { Debug.Assert(fullPath != null); // first line column adjustment: if (pos.FirstLine == 1) pos.FirstColumn += firstLineColumnDisplacement; Debug.WriteLine("!!!3", message); PhpException.ThrowByEval(severity.ToPhpCompileError(), fullPath, pos.FirstLine, pos.FirstColumn, message); return true; }