Commit 55bc3db6 authored by Daniel Colascione's avatar Daniel Colascione

Tweak field ordering in re_pattern_buffer

* src/regex.h (struct re_pattern_buffer): Reorder charset_unibyte
field to keep bitfields together.
parent adc80ddc
......@@ -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]]] */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment