Bug 963560 - Fix compilation error on VS2013 for method called 'assert', r=bz

This commit is contained in:
Andrea Marchesini 2014-01-24 15:45:24 +00:00
parent 3960405849
commit 2e079d8e5b

View File

@ -6060,7 +6060,7 @@ class CppKeywords():
A class for checking if method names declared in webidl
are not in conflict with C++ keywords.
"""
keywords = frozenset(['alignas', 'alignof', 'and', 'and_eq', 'asm', 'auto', 'bitand', 'bitor', 'bool',
keywords = frozenset(['alignas', 'alignof', 'and', 'and_eq', 'asm', 'assert', 'auto', 'bitand', 'bitor', 'bool',
'break', 'case', 'catch', 'char', 'char16_t', 'char32_t', 'class', 'compl', 'const', 'constexpr',
'const_cast', 'continue', 'decltype', 'default', 'delete', 'do', 'double', 'dynamic_cast', 'else', 'enum',
'explicit', 'export', 'extern', 'false', 'final', 'float', 'for', 'friend', 'goto', 'if', 'inline',