[svn:parrot] r42081 - trunk/compilers/pirc/src

kjs at svn.parrot.org kjs at svn.parrot.org
Sat Oct 24 15:28:21 UTC 2009


Author: kjs
Date: Sat Oct 24 15:28:21 2009
New Revision: 42081
URL: https://trac.parrot.org/parrot/changeset/42081

Log:
[pirc] add function doc for a (static) function; the constructor for key_entry objects

Modified:
   trunk/compilers/pirc/src/pircompunit.c

Modified: trunk/compilers/pirc/src/pircompunit.c
==============================================================================
--- trunk/compilers/pirc/src/pircompunit.c	Sat Oct 24 15:19:30 2009	(r42080)
+++ trunk/compilers/pirc/src/pircompunit.c	Sat Oct 24 15:28:21 2009	(r42081)
@@ -2102,6 +2102,17 @@
 }
 
 
+/*
+
+=item C<static key_entry * new_key_entry>
+
+Constructor for a key_entry node. Memory is allocated for the node,
+and the C<expr> field is initialized to the passed in C<expr> value.
+The newly constructed node is returned.
+
+=cut
+
+*/
 static key_entry *
 new_key_entry(lexer_state * const lexer, expression * const expr) {
     key_entry *entry = pir_mem_allocate_zeroed_typed(lexer, key_entry);


More information about the parrot-commits mailing list