Income:UK:Santander:Checking:Interest
Assets:UK:Santander:Checking
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/0195d9e1-b8af-4ba0-adf1-6ab411d8d75e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
22:39:47 Andrew@LAPTOP-V9S562AR:~/accounting$ cat main.beancount
2012-02-01 open Assets:UK:Santander:Checking:0796 GBP2012-02-01 open Income:UK:Santander:Checking:0796:Interest GBP
22:40:27 Andrew@LAPTOP-V9S562AR:~/accounting$ bean-check main.beancount/mnt/c/Users/andre/OneDrive/accounting/main.beancount:2: syntax error, unexpected COLON, expecting EOL or COMMENT
/mnt/c/Users/andre/OneDrive/accounting/main.beancount:3: syntax error, unexpected COLON, expecting EOL or COMMENT
/mnt/c/Users/andre/OneDrive/accounting/main.beancount:3: Invalid token: 'Interest'
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/d5eb10f7-cc02-48f5-ba9f-ccf5ac050a18%40googlegroups.com.
Hi Andrew,The problem is not the length of the account name, it is that each component must begin with a letter.Your "0796" account name component is the problem here.I think what happens here is that the account name is recognized up to the ":0796" bit and then it does not recognize that as anything useful by itself.(I admit that the error message isn't really useful; it's auto-generated by the parser generator.)Just call it "A0796" or something like that and it should work.I hope this helps,
On Sun, Aug 6, 2017 at 5:46 PM, Andrew Tolmie <andyth...@gmail.com> wrote:
My example is below:
22:39:47 Andrew@LAPTOP-V9S562AR:~/accounting$ cat main.beancount2012-02-01 open Assets:UK:Santander:Checking:0796 GBP2012-02-01 open Income:UK:Santander:Checking:0796:Interest GBP22:40:27 Andrew@LAPTOP-V9S562AR:~/accounting$ bean-check main.beancount/mnt/c/Users/andre/OneDrive/accounting/main.beancount:2: syntax error, unexpected COLON, expecting EOL or COMMENT/mnt/c/Users/andre/OneDrive/accounting/main.beancount:3: syntax error, unexpected COLON, expecting EOL or COMMENT/mnt/c/Users/andre/OneDrive/accounting/main.beancount:3: Invalid token: 'Interest'
I am using Bash on Windows (Windows subsystem for linux).
--
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+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/b04b7d21-a83f-4c95-93c6-c8f90b25f6e7%40googlegroups.com.