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:
parent
adc80ddcfb
commit
55bc3db67c
1 changed files with 4 additions and 4 deletions
|
@ -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]]] */
|
||||
|
|
Loading…
Add table
Reference in a new issue