Exemplo n.º 1
0
        public void DefineDefaultCompilationErrorInfo(int errorLevel)
        {
            if (ErrorManager == null)
            {
                throw new InvalidOperationException("ErrorManager is not specified");
            }

            ErrorManager.DefineError(DeletionErrorId, errorLevel, CompilationStage.Parsing, "Unexpected token \"{0}\"");
            ErrorManager.DefineError(InsertionErrorId, errorLevel, CompilationStage.Parsing, "Missing {0}");
        }