projects
/
p5sagit/Function-Parameters.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix wrong line number for statement immediately following a function
[p5sagit/Function-Parameters.git]
/
Parameters.xs
diff --git
a/Parameters.xs
b/Parameters.xs
index
bb30693
..
30502f2
100644
(file)
--- a/
Parameters.xs
+++ b/
Parameters.xs
@@
-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;
}
}