Always catch symbol cap

This commit is contained in:
Devine Lu Linvega 2024-04-06 09:19:58 -07:00
parent 544eddef36
commit b866ad5f67
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<> ([c]) ()
<> (c) ([c])
<> ([a]) ()
<> (a) ([a])
(abc)

View File

@ -63,7 +63,7 @@ match(char *p, Rule *r)
if(c != *b) return NULL;
a++, b++;
}
return b;
return spacer(*b) ? b : NULL;
}
static int