diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-23 18:56:20 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-23 18:56:20 -0400 |
commit | 60b8b4ddf6ce5280991a87fe3947aa769bf9cb8b (patch) | |
tree | ee567c74cf1bcef7d44490f1204135e0ddb18f24 /Keyword.xs | |
parent | ec07fc746048ae4e894e7cb327938ccfe3eb7644 (diff) | |
download | parse-keyword-60b8b4ddf6ce5280991a87fe3947aa769bf9cb8b.tar.gz parse-keyword-60b8b4ddf6ce5280991a87fe3947aa769bf9cb8b.zip |
pass the keyword name to parser functions
Diffstat (limited to 'Keyword.xs')
-rw-r--r-- | Keyword.xs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |