Committing patch from Joseph Ranieri to handle 'exit()' the same
as 'quit()' in the python script environment.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105756 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/embedded_interpreter.py b/source/Interpreter/embedded_interpreter.py
index 38b2f9e..5492833 100644
--- a/source/Interpreter/embedded_interpreter.py
+++ b/source/Interpreter/embedded_interpreter.py
@@ -45,7 +45,7 @@
       # Check the input string to see if it was the quit
       # command.  If so, intercept it, so that it doesn't
       # close stdin on us!
-      if (temp_str.lower() == "quit()"):
+      if (temp_str.lower() == "quit()" or temp_str.lower() == "exit()"):
          self.loop_exit = True
          in_str = "raise SystemExit "
       return in_str