On Nov 3, 2008, at 2:36 AM, Brice Figureau wrote:
>>
>> Why add the empty string?
>
> Because it means we are starting a new documentation section so that
> accumulate has just to peek the last pushed string and concat the
> current doc with it.
>
> This is for this case of doc:
>
> # comment 1
> statement1
>
> # comment 2
> statement2
>
> On statement1, the parser calls getcomment to fetch comment1, then
> resets the current accumulated comment so that statement2 sees only
> comment2.


Ok.

-- 
No matter how rich you become, how famous or powerful, when you die
the size of your funeral will still pretty much depend on the
weather. -- Michael Pritchard
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to