Author: kjs Date: Tue Dec 30 06:25:07 2008 New Revision: 34648 Modified: trunk/compilers/pirc/new/pircompunit.c
Log: [pirc] some comments updates. Modified: trunk/compilers/pirc/new/pircompunit.c ============================================================================== --- trunk/compilers/pirc/new/pircompunit.c (original) +++ trunk/compilers/pirc/new/pircompunit.c Tue Dec 30 06:25:07 2008 @@ -590,7 +590,9 @@ Add a new target to the list pointed to by C<list>. C<list> points to the last element, C<<last->next>> points to the first. The list is -circular linked. The newly added target C<t> is returned. +circular linked. The newly added target C<t> is returned, which is also +the "root" pointer of the list (pointing to the last element, through +its "next" pointer you get the first item in the list.) =cut @@ -744,7 +746,7 @@ Add argument C<newarg> at the end of the list pointed to by C<last>. The list is circular linked, and C<last> points to the last item. -Being circular linked, C<<arg1->next>> points to the first item. +Being circular linked, C<<last->next>> points to the first item. After adding the element, the I<root> pointer (that points to the last element of the list) is updated, and returned.
