Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame^] | 1 | //===-- 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 | |
| 14 | using namespace lldb; |
| 15 | using namespace lldb_private; |
| 16 | |
| 17 | ScriptInterpreterNone::ScriptInterpreterNone () : |
| 18 | ScriptInterpreter (eScriptLanguageNone) |
| 19 | { |
| 20 | } |
| 21 | |
| 22 | ScriptInterpreterNone::~ScriptInterpreterNone () |
| 23 | { |
| 24 | } |
| 25 | |
| 26 | void |
| 27 | ScriptInterpreterNone::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 | |
| 32 | void |
| 33 | ScriptInterpreterNone::ExecuteInterpreterLoop (FILE *out, FILE *err) |
| 34 | { |
| 35 | fprintf (err, "error: there is no embedded script interpreter in this mode.\n"); |
| 36 | } |
| 37 | |
| 38 | |