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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user