summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-07-21 19:08:36 -0400
committerJesse Luehrs <doy@tozt.net>2013-07-21 19:08:48 -0400
commit406b7db0d24035d0f51ba243192d4906660ff148 (patch)
tree63248b04aa3467240ba1f1ddd1277169e290c1ed
parentb4633249ac65db74101bfee1ff72fbe4eebb9a07 (diff)
downloadparse-keyword-406b7db0d24035d0f51ba243192d4906660ff148.tar.gz
parse-keyword-406b7db0d24035d0f51ba243192d4906660ff148.zip
use c89 comments here
-rw-r--r--Keyword.xs13
1 files changed, 7 insertions, 6 deletions
diff --git a/Keyword.xs b/Keyword.xs
index 249121e..8131436 100644
--- a/Keyword.xs
+++ b/Keyword.xs
@@ -41,12 +41,13 @@ static OP *parser_callback(pTHX_ GV *namegv, SV *psobj, U32 *flagsp)
SV *statement = NULL;
I32 count;
- // call the parser callback
- // it should take no arguments and return a coderef which, when called,
- // produces the arguments to the keyword function
- // the optree we want to generate is for something like
- // mykeyword($code->())
- // where $code is the thing returned by the parser function
+ /* call the parser callback
+ * it should take no arguments and return a coderef which, when called,
+ * produces the arguments to the keyword function
+ * the optree we want to generate is for something like
+ * mykeyword($code->())
+ * where $code is the thing returned by the parser function
+ */
PUSHMARK(SP);
count = call_sv(psobj, G_ARRAY);