summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/PythonUtil.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2010-06-30 12:11:18 +0200
committerBenoit Foucher <benoit@zeroc.com>2010-06-30 12:11:18 +0200
commit14b25ce02b15cc031d0b620f41c7ff50571e3e4d (patch)
tree150ae4aafb0f1903078a5214d81c44a0aca6752b /cpp/src/Slice/PythonUtil.cpp
parentFixed bug #4786 (diff)
downloadice-14b25ce02b15cc031d0b620f41c7ff50571e3e4d.tar.bz2
ice-14b25ce02b15cc031d0b620f41c7ff50571e3e4d.tar.xz
ice-14b25ce02b15cc031d0b620f41c7ff50571e3e4d.zip
Fixed bug 4795 - None is now recognized as a keyword
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rwxr-xr-xcpp/src/Slice/PythonUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp
index 08c30f4d2df..b479d8c4a44 100755
--- a/cpp/src/Slice/PythonUtil.cpp
+++ b/cpp/src/Slice/PythonUtil.cpp
@@ -183,7 +183,7 @@ lookupKwd(const string& name)
//
static const string keywordList[] =
{
- "and", "assert", "break", "class", "continue", "def", "del", "elif", "else", "except", "exec",
+ "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"
};