diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-10-02 12:38:42 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-10-02 12:38:42 -0700 |
| commit | 486fe98a9c7f751998aeb6837dabfea7ac33938d (patch) | |
| tree | 20de27fdeb9b6b6a11d3963363ba53fbeaddce91 /pattern.h | |
| parent | 304d5c35a8718b2b0f190e53dece6362d14df1b4 (diff) | |
Fix for left recursion error due to wrong context
Diffstat (limited to 'pattern.h')
| -rw-r--r-- | pattern.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -83,9 +83,10 @@ typedef struct pat_s { } capture; struct { struct match_s *match; - unsigned int visits; const char *at; struct pat_s *fallback; + void *ctx; + bool visited; } leftrec; struct { const char *start, *end, *msg; |
