[DOCS] Different ways Commenting Journals

2011-11-22 Thread Craig Earls
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

Re: [DOCS] Different ways Commenting Journals

2011-11-22 Thread John Wiegley
Craig Earls enderw88-re5jqeeqqe8avxtiumw...@public.gmane.org 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

Re: [DOCS] Different ways Commenting Journals

2011-11-22 Thread Craig Earls
I didn't see thos in the code. I'll try it later. On 2011-11-22, John Wiegley jwieg...@gmail.com wrote: Craig Earls enderw88-re5jqeeqqe8avxtiumw...@public.gmane.org writes: This may be common knowledge but I haven't seen it written anywhere. While combing through the code (textual.cc

Re: [DOCS] Different ways Commenting Journals

2011-11-22 Thread Craig Earls
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