1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Provoke a compilation error if the execution character set doesn't match the

expectations.
This commit is contained in:
Bruno Haible
2003-04-28 10:08:35 +00:00
parent d267e31dea
commit 16e10a330c
19 changed files with 438 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ public:
const char *verbatim_code,
const char *verbatim_code_end,
unsigned int verbatim_code_lineno,
bool charset_dependent,
int total_keys,
int max_key_len, int min_key_len,
const Positions& positions,
@@ -125,6 +126,9 @@ private:
const char * const _verbatim_code;
const char * const _verbatim_code_end;
unsigned int const _verbatim_code_lineno;
/* Whether the keyword chars would have different values in a different
character set. */
bool _charset_dependent;
/* Total number of keys, counting duplicates. */
int const _total_keys;
/* Maximum length of the longest keyword. */