Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
%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);