diff options
Diffstat (limited to 'lpcap.c')
-rw-r--r-- | lpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -477,7 +477,7 @@ static int addonestring (luaL_Buffer *b, CapState *cs, const char *what) { | |||
477 | substcap(b, cs); /* add capture directly to buffer */ | 477 | substcap(b, cs); /* add capture directly to buffer */ |
478 | return 1; | 478 | return 1; |
479 | case Cacc: /* accumulator capture? */ | 479 | case Cacc: /* accumulator capture? */ |
480 | return luaL_error(cs->L, "accumulator capture inside substitution capture"); | 480 | return luaL_error(cs->L, "invalid context for an accumulator capture"); |
481 | default: { | 481 | default: { |
482 | lua_State *L = cs->L; | 482 | lua_State *L = cs->L; |
483 | int n = pushcapture(cs); | 483 | int n = pushcapture(cs); |