summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/cregex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cregex.c b/src/cregex.c
index 5fe7a461..dfd27714 100644
--- a/src/cregex.c
+++ b/src/cregex.c
@@ -572,12 +572,13 @@ _newclass(_Parser *par)
static int /* quoted */
_nextc(_Parser *par, _Rune *rp)
{
- start:
+ int ret;
if (par->lexdone) {
*rp = 0;
return 1;
}
- int ret = par->litmode;
+start:
+ ret = par->litmode;
par->exprp += chartorune(rp, par->exprp);
if (*rp == '\\') {