New issue 192: Make it possible to use single letter as commodity name https://bitbucket.org/blais/beancount/issues/192/make-it-possible-to-use-single-letter-as
Zhuoyun Wei: Hi Martin, this is a similar issue to #138. I recently found out that Beancount currently does not allow single-letter commodity name. A minimal reproducible example: ``` 1970-01-01 commodity USD 1970-01-01 commodity V 2017-09-01 open Assets:SingleLetter:X 2017-09-01 open Assets:Trade:Cash USD 2017-09-01 open Assets:Trade:Positions "FIFO" 2017-09-13 * "Buy 10 shares of Visa" Assets:Trade:Cash -1000.00 USD Assets:Trade:Positions +10.00 V { 100.00 USD } ``` A bean-check shows: ``` single-letter.beancount:2: Invalid token: 'V' single-letter.beancount:10: Invalid token: 'V' ``` It seems that single-letter account names do not trigger errors any more (line 4) since #138 is resolved, but single-letter commodity names are still not allowed (line 2 and line 10). Could you please make single-letter commodity possible? I would like to make pull request but I do not know how to write C code... Responsible: blais -- 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 beancount@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20170913100325.27849.36887%40celery-worker-107.ash1.bb-inf.net. For more options, visit https://groups.google.com/d/optout.