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:23:08 +0900
commitd94da50a46bea897c5122aae6d1f56e0a6780a82 (patch)
treeb7e5d3801b209ffd01efe2d009dccd9f154669b4 /tdehtml/css/makevalues
parent6350327928dc6961e0710a0ff6dc4cdcfa5d466e (diff)
downloadtdelibs-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/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