Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
%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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment