fix wrong line number for statement immediately following a function
[p5sagit/Function-Parameters.git] / Parameters.xs
index bb30693..30502f2 100644 (file)
@@ -886,7 +886,7 @@ static int parse_fun(pTHX_ OP **pop, const char *keyword_ptr, STRLEN keyword_len
                        attrs,
                        body
                );
-               *pop = NULL;
+               *pop = newOP(OP_NULL, 0);
                return KEYWORD_PLUGIN_STMT;
        }
 }