From 7ee4fbdab347c1e5db15febcc3c19e9b40525508 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Thu, 24 Jan 2013 09:47:37 -0800 Subject: ICE-5203 - add self to Python keywords --- cpp/src/Slice/PythonUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Slice/PythonUtil.cpp') diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 9ab5d9acffd..911094a909b 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -185,7 +185,7 @@ lookupKwd(const string& name) { "None", "and", "assert", "break", "class", "continue", "def", "del", "elif", "else", "except", "exec", "finally", "for", "from", "global", "if", "import", "in", "is", "lambda", "not", "or", "pass", - "print", "raise", "return", "try", "while", "yield" + "print", "raise", "return", "self", "try", "while", "yield" }; bool found = binary_search(&keywordList[0], &keywordList[sizeof(keywordList) / sizeof(*keywordList)], -- cgit v1.2.3