diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-20 11:22:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-20 11:22:30 +0900 |
commit | 30606e55f1a570463d837cb110b0bd4adba6643b (patch) | |
tree | 7e7ca7c48fc9b880fb67c659e9f6024dc5774fc4 /tdehtml/css/makeprop | |
parent | c088fbf55bde4faa68a6d51ba44085bd97c1e4e2 (diff) | |
download | tdelibs-30606e55f1a570463d837cb110b0bd4adba6643b.tar.gz tdelibs-30606e55f1a570463d837cb110b0bd4adba6643b.zip |
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/css/makeprop')
-rw-r--r-- | tdehtml/css/makeprop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/css/makeprop b/tdehtml/css/makeprop index a23f0b54f..b01ed7319 100644 --- a/tdehtml/css/makeprop +++ b/tdehtml/css/makeprop @@ -23,7 +23,7 @@ # grep "^[^\#]" cssproperties.in > cssproperties.strip -echo -e '%{\n/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1999 W. Bastian */\n#include "cssproperties.h"\n%}\nstruct props {\n const char *name;\n int id;\n};\n\nstatic const struct props * findProp (register const char *str, unsigned int len);\n\n%%' > cssproperties.gperf +echo -e '%{\n/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1999 W. Bastian */\n#include "cssproperties.h"\n%}\nstruct props {\n const char *name;\n int id;\n};\n\nstatic const struct props * findProp (const char *str, unsigned int len);\n\n%%' > cssproperties.gperf cat cssproperties.strip | awk '{ do { prop = $0; gsub("-", "_"); print prop ", CSS_PROP_" toupper($0) } while (getline) }' >> cssproperties.gperf echo '%%' >> cssproperties.gperf echo -e '/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1998 W. Bastian */\n\n#ifndef CSSPROPERTIES_H\n#define CSSPROPERTIES_H\n\nDOM::DOMString getPropertyName(unsigned short id) KDE_NO_EXPORT;\n' > cssproperties.h |