diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-07 15:49:35 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-19 10:13:51 -0800 |
| commit | 67de896229c0f1918f50a48973b7ce0007a181a9 (patch) | |
| tree | e39acc8c2d5df12a5f468d67877241adac14a584 /lldb/source/Interpreter/OptionArgParser.cpp | |
| parent | 34dd49c86a46eda5b767a2118d092178c14153c3 (diff) | |
| download | bcm5719-llvm-67de896229c0f1918f50a48973b7ce0007a181a9.tar.gz bcm5719-llvm-67de896229c0f1918f50a48973b7ce0007a181a9.zip | |
[lldb/Lua] Add Boilerplate for a Lua Script Interpreter
This adds the boilerplate necessary to support the Lua script
interpreter. The interpreter is not functional yet and just reports that
it's not implemented.
Discussion on the mailing list:
http://lists.llvm.org/pipermail/lldb-dev/2019-December/015812.html
Differential revision: https://reviews.llvm.org/D71232
Diffstat (limited to 'lldb/source/Interpreter/OptionArgParser.cpp')
| -rw-r--r-- | lldb/source/Interpreter/OptionArgParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/OptionArgParser.cpp b/lldb/source/Interpreter/OptionArgParser.cpp index 14b81cd7b3d..56d99a4220f 100644 --- a/lldb/source/Interpreter/OptionArgParser.cpp +++ b/lldb/source/Interpreter/OptionArgParser.cpp @@ -127,6 +127,8 @@ lldb::ScriptLanguage OptionArgParser::ToScriptLanguage( if (s.equals_lower("python")) return eScriptLanguagePython; + if (s.equals_lower("lua")) + return eScriptLanguageLua; if (s.equals_lower("default")) return eScriptLanguageDefault; if (s.equals_lower("none")) |

