diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-21 21:54:44 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-21 21:54:44 -0800 |
commit | acdda1344a0e1b45bd3ba7feb0e8cd398bee0179 (patch) | |
tree | 63baad9dd340879c68a8ce267dbefd2dd246266d /lldb/source/Commands | |
parent | 0fe131aebb4a43ca1017d8e703930058325e3bf3 (diff) | |
download | bcm5719-llvm-acdda1344a0e1b45bd3ba7feb0e8cd398bee0179.tar.gz bcm5719-llvm-acdda1344a0e1b45bd3ba7feb0e8cd398bee0179.zip |
[lldb/Lua] Add missing boiler plate to ScriptInterpreter.
- Fix enum entry order.
- Fix missing enum case in CommandObjectBreakpointCommand.
- Add Lua entry to swtich in LanguageToString and simplify the code.
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index d62fe519eca..551d0ac0081 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -307,6 +307,7 @@ are no syntax errors may indicate that a function was declared but never called. m_use_script_language = true; break; case eScriptLanguageNone: + case eScriptLanguageUnknown: m_use_script_language = false; break; } |