diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-19 11:14:02 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-19 11:14:02 -0300 |
commit | 9a9ee3d9ab8ce435d743d293ec43075151370200 (patch) | |
tree | 445290bfa04c2cd30f514b65b90b1d8b973f21f1 /lpprint.c | |
parent | a561630f17e61548193666abf9a8b20f20462558 (diff) | |
download | lpeg-9a9ee3d9ab8ce435d743d293ec43075151370200.tar.gz lpeg-9a9ee3d9ab8ce435d743d293ec43075151370200.tar.bz2 lpeg-9a9ee3d9ab8ce435d743d293ec43075151370200.zip |
Some fixes in vibibility check for back captures
Diffstat (limited to 'lpprint.c')
-rw-r--r-- | lpprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,8 +149,8 @@ void printpatt (Instruction *p) { | |||
149 | 149 | ||
150 | static void printcap (Capture *cap, int ident) { | 150 | static void printcap (Capture *cap, int ident) { |
151 | while (ident--) printf(" "); | 151 | while (ident--) printf(" "); |
152 | printf("%s (idx: %d - size: %d) -> %lu\n", | 152 | printf("%s (idx: %d - size: %d) -> %lu (%p)\n", |
153 | capkind(cap->kind), cap->idx, cap->siz, (long)cap->index); | 153 | capkind(cap->kind), cap->idx, cap->siz, (long)cap->index, (void*)cap); |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ||