projects
/
p5sagit/Function-Parameters.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
resync MANIFEST
[p5sagit/Function-Parameters.git]
/
Parameters.xs
diff --git
a/Parameters.xs
b/Parameters.xs
index
d27c82c
..
286e79d
100644
(file)
--- a/
Parameters.xs
+++ b/
Parameters.xs
@@
-930,6
+930,10
@@
static int parse_fun(pTHX_ OP **pop, const char *keyword_ptr, STRLEN keyword_len
my_check_prototype(aTHX_ declarator, proto);
lex_read_space(0);
c = lex_peek_unichar(0);
+ if (!(c == ':' || c == '{')) {
+ lex_stuff_pvs(":", 0);
+ c = ':';
+ }
}
}