From d94da50a46bea897c5122aae6d1f56e0a6780a82 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Feb 2020 11:22:30 +0900 Subject: Remove remaining 'register' instructions. Signed-off-by: Michele Calgaro (cherry picked from commit 30606e55f1a570463d837cb110b0bd4adba6643b) --- tdehtml/css/makevalues | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdehtml/css/makevalues') 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 -- cgit v1.2.3