aboutsummaryrefslogtreecommitdiff
path: root/lpcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-07-06 17:03:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-07-06 17:03:22 -0300
commit99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0 (patch)
treebed5d9b14a7cc150d9790428facf6a0a6f314724 /lpcode.c
parent1b55119610ba5a6752c768c2f997a90c0ffc0546 (diff)
downloadlpeg-99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0.tar.gz
lpeg-99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0.tar.bz2
lpeg-99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0.zip
Details
Diffstat (limited to 'lpcode.c')
-rw-r--r--lpcode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lpcode.c b/lpcode.c
index 7d47a00..64ad8ac 100644
--- a/lpcode.c
+++ b/lpcode.c
@@ -365,9 +365,8 @@ static int getfirst (TTree *tree, const Charset *follow, Charset *firstset) {
365 if (tocharset(sib1(tree), firstset)) { 365 if (tocharset(sib1(tree), firstset)) {
366 cs_complement(firstset); 366 cs_complement(firstset);
367 return 1; 367 return 1;
368 } 368 } /* else */
369 /* else go through */ 369 } /* FALLTHROUGH */
370 }
371 case TBehind: { /* instruction gives no new information */ 370 case TBehind: { /* instruction gives no new information */
372 /* call 'getfirst' only to check for math-time captures */ 371 /* call 'getfirst' only to check for math-time captures */
373 int e = getfirst(sib1(tree), follow, firstset); 372 int e = getfirst(sib1(tree), follow, firstset);