Fixed an error with a static enum definition where it wasn't NULL terminate and could crash.

llvm-svn: 163851
This commit is contained in:
Greg Clayton
2012-09-13 23:03:20 +00:00
parent 31b617d7f0
commit a12993c930

View File

@@ -86,6 +86,7 @@ g_language_enumerators[] =
{ eScriptLanguageNone, "none", "Disable scripting languages."},
{ eScriptLanguagePython, "python", "Select python as the default scripting language."},
{ eScriptLanguageDefault, "default", "Select the lldb default as the default scripting language."},
{ 0, NULL, NULL }
};
#define MODULE_WITH_FUNC "{ ${module.file.basename}{`${function.name-with-args}${function.pc-offset}}}"