From a561630f17e61548193666abf9a8b20f20462558 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 15 Jun 2023 11:28:33 -0300 Subject: Full captures can contain nested captures Nested captures can be recognized because they start (and end) inside the character range of the full capture. This optimization can remove a lot of 'close' captures from the capture logs. --- lpprint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lpprint.h') diff --git a/lpprint.h b/lpprint.h index aafdafc..e8e04e8 100644 --- a/lpprint.h +++ b/lpprint.h @@ -22,7 +22,7 @@ void printinst (const Instruction *op, const Instruction *p); luaL_error(L, "function only implemented in debug mode") #define printtree(tree,i) \ luaL_error(L, "function only implemented in debug mode") -#define printpatt(p,n) \ +#define printpatt(p) \ luaL_error(L, "function only implemented in debug mode") #endif -- cgit v1.2.3-55-g6feb