Tweak field ordering in re_pattern_buffer

* src/regex.h (struct re_pattern_buffer): Reorder charset_unibyte
field to keep bitfields together.
This commit is contained in:
Daniel Colascione 2018-06-15 23:48:26 -07:00
parent adc80ddcfb
commit 55bc3db67c

View file

@ -367,7 +367,10 @@ struct re_pattern_buffer
/* Number of bytes actually used in `buffer'. */
size_t used;
#ifndef emacs
#ifdef emacs
/* Charset of unibyte characters at compiling time. */
int charset_unibyte;
#else
/* Syntax setting with which the pattern was compiled. */
reg_syntax_t syntax;
#endif
@ -427,9 +430,6 @@ struct re_pattern_buffer
/* If true, multi-byte form in the target of match should be
recognized as a multibyte character. */
unsigned target_multibyte : 1;
/* Charset of unibyte characters at compiling time. */
int charset_unibyte;
#endif
/* [[[end pattern_buffer]]] */