blob: cdc399e7d86094f55ca777a409adda1ae1c3586e [file] [log] [blame]
Chris Lattner24943d22010-06-08 16:52:24 +00001//===-- ScriptInterpreterNone.cpp -------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "lldb/Interpreter/ScriptInterpreterNone.h"
11#include "lldb/Core/Stream.h"
12#include "lldb/Core/StringList.h"
13
14using namespace lldb;
15using namespace lldb_private;
16
17ScriptInterpreterNone::ScriptInterpreterNone () :
18 ScriptInterpreter (eScriptLanguageNone)
19{
20}
21
22ScriptInterpreterNone::~ScriptInterpreterNone ()
23{
24}
25
26void
27ScriptInterpreterNone::ExecuteOneLine (const std::string &line, FILE *out, FILE *err)
28{
29 ::fprintf (err, "error: there is no embedded script interpreter in this mode.\n");
30}
31
32void
33ScriptInterpreterNone::ExecuteInterpreterLoop (FILE *out, FILE *err)
34{
35 fprintf (err, "error: there is no embedded script interpreter in this mode.\n");
36}
37
38