diff options
Diffstat (limited to 'WebCore/html/DocTypeStrings.gperf')
-rw-r--r-- | WebCore/html/DocTypeStrings.gperf | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/WebCore/html/DocTypeStrings.gperf b/WebCore/html/DocTypeStrings.gperf index 5c213b0..22488eb 100644 --- a/WebCore/html/DocTypeStrings.gperf +++ b/WebCore/html/DocTypeStrings.gperf @@ -1,23 +1,14 @@ %struct-type -struct PubIDInfo { - enum eMode { - eQuirks, - eQuirks3, - eAlmostStandards - }; - - const char* name; - eMode mode_if_no_sysid; - eMode mode_if_sysid; -} -%language=ANSI-C +struct PubIDInfo; +%omit-struct-type +%language=C++ %readonly-tables %global-table %compare-strncmp +%define class-name DocTypeStringsHash %define initializer-suffix ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards -%define lookup-function-name findDoctypeEntry +%define lookup-function-name findDoctypeEntryImpl %define hash-function-name doctype_hash_function -%includes %enum %% "+//silmaril//dtd html pro v0r11 19970101//en", PubIDInfo::eQuirks3, PubIDInfo::eQuirks3 |