-# Copyright (C) 2010 Apple Inc. All rights reserved.
+# Copyright (C) 2010, 2013 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
function += ("{\n")
if emitTables and classes["UseTable"]:
if "Inverse" in classes:
- function += (" CharacterClass* characterClass = new CharacterClass(CharacterClassTable::create(_%sData, true));\n" % (classes["Inverse"]))
+ function += (" CharacterClass* characterClass = new CharacterClass(_%sData, true);\n" % (classes["Inverse"]))
else:
- function += (" CharacterClass* characterClass = new CharacterClass(CharacterClassTable::create(_%sData, false));\n" % (name))
+ function += (" CharacterClass* characterClass = new CharacterClass(_%sData, false);\n" % (name))
else:
- function += (" CharacterClass* characterClass = new CharacterClass(0);\n")
+ function += (" CharacterClass* characterClass = new CharacterClass;\n")
for (min, max) in ranges:
if (min == max):
if (min > 127):