Exemple #1
0
        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);
        }