Commit 45c47d96 authored by Arnaud Lacombe's avatar Arnaud Lacombe

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: default avatarArnaud Lacombe <lacombar@gmail.com>
parent 991d76c9
%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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment