Beispiel #1
0
        public ParseErrorInst GetParseErrorAndClear()
        {
            ParseErrorInst pei = _parseErrors[0];

            _parseErrors.Clear();
            return(pei);
        }
Beispiel #2
0
        internal void LogCompileError(ParseErrorType error, string msg)
        {
            ParseErrorInst inst = new ParseErrorInst(error, msg);

            _parseErrors.Add(inst);
            if (logCompileErrors)
            {
                LogError(inst.ToString());
            }
        }