[Lldb-commits] [lldb] r201024 - Only set EL_PROMPT_ESC when existing - fix typo

Sylvestre Ledru sylvestre at debian.org
Sat Feb 8 05:26:24 PST 2014


Author: sylvestre
Date: Sat Feb  8 07:26:24 2014
New Revision: 201024

URL: http://llvm.org/viewvc/llvm-project?rev=201024&view=rev
Log:
Only set EL_PROMPT_ESC when existing - fix typo

Modified:
    lldb/trunk/source/Host/common/Editline.cpp

Modified: lldb/trunk/source/Host/common/Editline.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Editline.cpp?rev=201024&r1=201023&r2=201024&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Editline.cpp (original)
+++ lldb/trunk/source/Host/common/Editline.cpp Sat Feb  8 07:26:24 2014
@@ -67,7 +67,7 @@ Editline::Editline (const char *prog,
 
     assert (m_editline);
     ::el_set (m_editline, EL_CLIENTDATA, this);
-#idef EL_PROMPT_ESC
+#ifdef EL_PROMPT_ESC
     ::el_set (m_editline, EL_PROMPT_ESC, GetPromptCallback, k_prompt_escape_char);
 #endif
     ::el_set (m_editline, EL_EDITOR, "emacs");





More information about the lldb-commits mailing list