summaryrefslogtreecommitdiffstats
path: root/tdehtml/css/makevalues
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-02-20 11:22:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-02-20 11:22:30 +0900
commit30606e55f1a570463d837cb110b0bd4adba6643b (patch)
tree7e7ca7c48fc9b880fb67c659e9f6024dc5774fc4 /tdehtml/css/makevalues
parentc088fbf55bde4faa68a6d51ba44085bd97c1e4e2 (diff)
downloadtdelibs-30606e55f1a570463d837cb110b0bd4adba6643b.tar.gz
tdelibs-30606e55f1a570463d837cb110b0bd4adba6643b.zip
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/css/makevalues')
-rwxr-xr-xtdehtml/css/makevalues2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/css/makevalues b/tdehtml/css/makevalues
index eb496a563..3ca0a82ea 100755
--- a/tdehtml/css/makevalues
+++ b/tdehtml/css/makevalues
@@ -24,7 +24,7 @@
#
grep "^[^\#]" cssvalues.in > cssvalues.strip
-echo -e '%{\n/* This file is automatically generated from cssvalues.in by makevalues, do not edit */\n/* Copyright 1999 W. Bastian */\n#include "cssvalues.h"\n%}\nstruct css_value {\n const char *name;\n int id;\n};\n\nstatic const css_value* findValue (register const char *str, unsigned int len);\n\n%%' > cssvalues.gperf
+echo -e '%{\n/* This file is automatically generated from cssvalues.in by makevalues, do not edit */\n/* Copyright 1999 W. Bastian */\n#include "cssvalues.h"\n%}\nstruct css_value {\n const char *name;\n int id;\n};\n\nstatic const css_value* findValue (const char *str, unsigned int len);\n\n%%' > cssvalues.gperf
cat cssvalues.strip | awk '{ do { prop = $0; gsub("-", "_"); print prop ", CSS_VAL_" toupper($0) } while (getline) }' >> cssvalues.gperf
echo '%%' >> cssvalues.gperf
echo -e '/* This file is automatically generated from cssvalues.in by