diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-01 23:02:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-01 23:02:54 +0200 |
commit | efb23f26e8da3edb9fe8c980f7a0f27906f98bf2 (patch) | |
tree | a9457e79b1f54d295e867d4cc758022b8ad8fa55 /src/regexp.h | |
parent | 0418811869a64add42b0f2a37eff911dd550eb28 (diff) | |
download | vim-git-efb23f26e8da3edb9fe8c980f7a0f27906f98bf2.tar.gz |
updated for version 7.3.1090v7.3.1090
Problem: New regexp engine does not support \z1 .. \z9 and \z(.
Solution: Implement the syntax submatches.
Diffstat (limited to 'src/regexp.h')
-rw-r--r-- | src/regexp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/regexp.h b/src/regexp.h index e609cd291..f44578d8f 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -55,7 +55,9 @@ typedef struct char_u reganch; char_u *regmust; int regmlen; +#ifdef FEAT_SYN_HL char_u reghasz; +#endif char_u program[1]; /* actually longer.. */ } bt_regprog_T; @@ -88,6 +90,9 @@ typedef struct nfa_state_T *start; int has_zend; /* pattern contains \ze */ int has_backref; /* pattern contains \1 .. \9 */ +#ifdef FEAT_SYN_HL + int reghasz; +#endif int nsubexp; /* number of () */ int nstate; nfa_state_T state[0]; /* actually longer.. */ |