You cannot insert comment syntax between the postings. (This limitation is mainly due to the special treatment indentation has and some limitations of the lexer implementation. In theory it would be fixable, but falls under the "we need to rewrite the lexer" rubric.)
On Sat, Aug 5, 2017 at 11:41 AM, <jkep...@gmail.com> wrote: > Hello, > > I'm a Ledger user thinking of switching to Beancount based on what I > understand from the documentation on how it handles lots. While trying to > import my data from Ledger to Beancount using *bean-check* I'm getting a > syntax error. Here's a small sample from my data: > > 2013-01-01 open Expenses:Crypto:NetworkFees BTC > > ; lots of other transactions were here > > 2017-06-27 * "Bitcoin network fee" > ; Account: Pocket money > Expenses:Crypto:NetworkFees 0.00082487 BTC > Assets:Crypto:Bitcoin > > When I run *bean-check* on that file, I receive the following error > message: > > joel@bregalad:~/beancount$ bean-check ledger.bc > > /home/joel/beancount/ledger.bc:3308: *syntax error, unexpected ACCOUNT* > > Any ideas what's going on with my directives? Maybe this is an obvious > beginners mistake, but I can't see it. > > Joel > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beancount+unsubscr...@googlegroups.com. > To post to this group, send email to firstname.lastname@example.org. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/ea767f56-d10f-4417-90d8-096578b286fe%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/ea767f56-d10f-4417-90d8-096578b286fe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhNJdrwqaFnOWYN6zuESiugJW45fP33N%2BoxDXMdJpNVN9w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.