commit | 8ca450b8718d326a93a53a8a3808f8bba0a2aa7e | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Mon Oct 31 22:22:06 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Mon Oct 31 22:22:06 2011 +0000 |
tree | bb1187a3caf306aa3675e95c3b4d273cf5722ca8 | |
parent | 715f6b0843d0099761464f05e4f899cb69e63320 [diff] [blame] |
Revert 143359 and modify the test case to not include non-valid c identifier character. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143372 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp index e5c6e32..0b9e4db 100644 --- a/source/Interpreter/CommandInterpreter.cpp +++ b/source/Interpreter/CommandInterpreter.cpp
@@ -1376,6 +1376,13 @@ } } break; + + default: + result.AppendErrorWithFormat ("unknown command shorthand suffix: '%s'\n", + suffix.c_str()); + result.SetStatus (eReturnStatusFailed); + return false; + } } }