[all-commits] [llvm/llvm-project] 1728de: [lldb/Lua] Recognize "quit" as a way to exit the s...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Mon Jun 22 09:27:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1728dec255a5336303b301e26ec22eca2000b593
https://github.com/llvm/llvm-project/commit/1728dec255a5336303b301e26ec22eca2000b593
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-06-22 (Mon, 22 Jun 2020)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
A lldb/test/Shell/ScriptInterpreter/Lua/quit.test
Log Message:
-----------
[lldb/Lua] Recognize "quit" as a way to exit the script interpreter.
Add a way to quit the interactive script interpreter from a shell tests.
Currently, the only way (that I know) to exit the interactive Lua
interpreter is to send a EOF with CTRL-D. I noticed that the embedded
Python script interpreter accepts quit (while the regular python
interpreter doesn't). I've added a special case to the Lua interpreter
to do the same.
Differential revision: https://reviews.llvm.org/D82272
More information about the All-commits
mailing list