From 60b8b4ddf6ce5280991a87fe3947aa769bf9cb8b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 23 Jul 2013 18:56:20 -0400 Subject: pass the keyword name to parser functions --- Keyword.xs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Keyword.xs') diff --git a/Keyword.xs b/Keyword.xs index 0cad122..a697266 100644 --- a/Keyword.xs +++ b/Keyword.xs @@ -65,6 +65,8 @@ static OP *parser_callback(pTHX_ GV *namegv, SV *psobj, U32 *flagsp) */ PUSHMARK(SP); + mXPUSHp(GvNAME(namegv), GvNAMELEN(namegv)); + PUTBACK; count = call_sv(psobj, G_ARRAY); SPAGAIN; if (count > 1) { -- cgit v1.2.3-54-g00ecf