From 45c47d966850e2727f913c92e4b6d1c2d586d6bd Mon Sep 17 00:00:00 2001 From: Arnaud Lacombe Date: Wed, 4 May 2011 21:18:27 -0400 Subject: genksyms: pass hash and lookup functions name and target language though the input file Renaming hash and lookup functions on the command line would reduces its genericity. Use the .gperf file to pass this information. Do the same for the target language. Signed-off-by: Arnaud Lacombe --- scripts/genksyms/keywords.gperf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/genksyms') diff --git a/scripts/genksyms/keywords.gperf b/scripts/genksyms/keywords.gperf index e6349acb6f2f..3e77a943e7b7 100644 --- a/scripts/genksyms/keywords.gperf +++ b/scripts/genksyms/keywords.gperf @@ -1,3 +1,6 @@ +%language=ANSI-C +%define hash-function-name is_reserved_hash +%define lookup-function-name is_reserved_word %{ struct resword; static const struct resword *is_reserved_word(register const char *str, register unsigned int len); -- cgit v1.2.2