diff options
author | Christos Zoulas <christos@zoulas.com> | 2020-09-05 14:15:42 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2020-09-05 14:15:42 +0000 |
commit | c69f99bd08ccf747d815f225358b3710fbebae20 (patch) | |
tree | 836068253c23d6161ef97730878e91f7c2aa462b /src/file.h | |
parent | 8220981557cfd23dc432f984bec549abc0cd9f69 (diff) | |
download | file-git-c69f99bd08ccf747d815f225358b3710fbebae20.tar.gz |
PR/189: neal: Save and restore the contiuation levels around match in "use".
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.221 2020/08/14 13:37:10 christos Exp $ + * @(#)$File: file.h,v 1.222 2020/09/05 14:15:42 christos Exp $ */ #ifndef __file_h__ @@ -410,14 +410,16 @@ struct level_info { #endif }; +struct cont { + size_t len; + struct level_info *li; +}; + #define MAGIC_SETS 2 struct magic_set { struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */ - struct cont { - size_t len; - struct level_info *li; - } c; + struct cont c; struct out { char *buf; /* Accumulation buffer */ size_t blen; /* Length of buffer */ |