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:23:08 +0900 |
| commit | d94da50a46bea897c5122aae6d1f56e0a6780a82 (patch) | |
| tree | b7e5d3801b209ffd01efe2d009dccd9f154669b4 /tdehtml/css/makeprop | |
| parent | 6350327928dc6961e0710a0ff6dc4cdcfa5d466e (diff) | |
| download | tdelibs-d94da50a46bea897c5122aae6d1f56e0a6780a82.tar.gz tdelibs-d94da50a46bea897c5122aae6d1f56e0a6780a82.zip | |
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30606e55f1a570463d837cb110b0bd4adba6643b)
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 |
