diff options
Diffstat (limited to 'tdehtml/misc/makeattrs')
| -rw-r--r-- | tdehtml/misc/makeattrs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdehtml/misc/makeattrs b/tdehtml/misc/makeattrs index 935f350bd..b981b285f 100644 --- a/tdehtml/misc/makeattrs +++ b/tdehtml/misc/makeattrs @@ -36,7 +36,7 @@ print out "%{\n/* This file is automatically generated from print out "struct attrs {\n int name;\n int id;\n};\n%%\n"; print header "/* This file is automatically generated from -htmlattrs.in by makeattrs, do not edit */\n/* Copyright 1999 Lars Knoll */\n\n#ifndef HTML_ATTRS_H\n#define HTML_ATTRS_H\n\n#include \"dom/dom_string.h\"\n#include <kdemacros.h>\nusing namespace DOM;\n\n"; +htmlattrs.in by makeattrs, do not edit */\n/* Copyright 1999 Lars Knoll */\n\n#ifndef HTML_ATTRS_H\n#define HTML_ATTRS_H\n\n#include \"dom/dom_string.h\"\n#include <tdemacros.h>\nusing namespace DOM;\n\n"; my %amap = (); my $last_ci_attr = 0; @@ -67,7 +67,7 @@ print header "#define ATTR_LAST_CI_ATTR $last_ci_attr\n"; print out "%%\n"; close out; -print header "const char* getAttrName(unsigned short id) KDE_NO_EXPORT;\n"; +print header "const char* getAttrName(unsigned short id) TDE_NO_EXPORT;\n"; print header "\n#endif\n"; close header; @@ -103,7 +103,7 @@ while(defined ($line = shift @a)) print OUT " " .$hmap{$amap{$l}}.",\n"; } print OUT " 65535\n};\n\n"; -print OUT "const char* KDE_NO_EXPORT getAttrName(unsigned short id)\n{\n"; +print OUT "const char* TDE_NO_EXPORT getAttrName(unsigned short id)\n{\n"; print OUT " if (!id || id > TOTAL_KEYWORDS) return \"\";\n"; print OUT " return spool_attr + wordlist_attr[attrList[id]].name;\n"; print OUT "}\n"; |
