diff options
| author | Daniel Colascione | 2018-06-15 23:48:26 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2018-06-16 13:46:38 -0700 |
| commit | 55bc3db67c6a691bf40036394cd8ed4ab0a31c08 (patch) | |
| tree | d825b768d896454386f9fbcd08959e7647531bda /src | |
| parent | adc80ddcfb37cdd9fa192053a1088d22585416e7 (diff) | |
| download | emacs-55bc3db67c6a691bf40036394cd8ed4ab0a31c08.tar.gz emacs-55bc3db67c6a691bf40036394cd8ed4ab0a31c08.zip | |
Tweak field ordering in re_pattern_buffer
* src/regex.h (struct re_pattern_buffer): Reorder charset_unibyte
field to keep bitfields together.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex.h b/src/regex.h index 6974951f575..082f7e010d8 100644 --- a/src/regex.h +++ b/src/regex.h | |||
| @@ -367,7 +367,10 @@ struct re_pattern_buffer | |||
| 367 | /* Number of bytes actually used in `buffer'. */ | 367 | /* Number of bytes actually used in `buffer'. */ |
| 368 | size_t used; | 368 | size_t used; |
| 369 | 369 | ||
| 370 | #ifndef emacs | 370 | #ifdef emacs |
| 371 | /* Charset of unibyte characters at compiling time. */ | ||
| 372 | int charset_unibyte; | ||
| 373 | #else | ||
| 371 | /* Syntax setting with which the pattern was compiled. */ | 374 | /* Syntax setting with which the pattern was compiled. */ |
| 372 | reg_syntax_t syntax; | 375 | reg_syntax_t syntax; |
| 373 | #endif | 376 | #endif |
| @@ -427,9 +430,6 @@ struct re_pattern_buffer | |||
| 427 | /* If true, multi-byte form in the target of match should be | 430 | /* If true, multi-byte form in the target of match should be |
| 428 | recognized as a multibyte character. */ | 431 | recognized as a multibyte character. */ |
| 429 | unsigned target_multibyte : 1; | 432 | unsigned target_multibyte : 1; |
| 430 | |||
| 431 | /* Charset of unibyte characters at compiling time. */ | ||
| 432 | int charset_unibyte; | ||
| 433 | #endif | 433 | #endif |
| 434 | 434 | ||
| 435 | /* [[[end pattern_buffer]]] */ | 435 | /* [[[end pattern_buffer]]] */ |