I should have mentioned that of course ; is supported, the # | and *
are specifically in textual.cc as comment specifiers.  % is not there,
but the parser doesn't complain about it either.

This might be a bug of a sort in that the parser doesn't complain if
it is not a valid line (meaning the default behavior is to ignore the
line, only if it understands the first character does it do anything.)



On Tue, Nov 22, 2011 at 17:46, Craig Earls <[email protected]> wrote:
> I didn't see thos in the code.  I'll try it later.
>
> On 2011-11-22, John Wiegley <[email protected]> wrote:
>>>>>>> Craig Earls <[email protected]> writes:
>>
>>> This may be common knowledge but I haven't seen it written anywhere.
>>> While
>>> combing through the code (textual.cc instance_t::read_next_directive() to
>>> be
>>> specific) I found that ledger will allow a few different kinds of comment
>>> characters.  You can use # | * AT THE BEGINNING OF A LINE and that line
>>> will
>>> be ignored (print will also ignore it as usual).  I have added it to the
>>> docs.
>>
>> It also allows ; and %, doesn't it?  It should.
>>
>> John
>>
>
>
> --
> Craig, Corona De Tucson, AZ
> enderw88.wordpress.com
>



-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

Reply via email to