I'm not 100% sure, but I think the limitation is related to the lexer.
The grammar for flags plays not to nicely with other things, and I think
this is one of them.
However, I think I _may_ be able to change the definition to that of Alan's
suggestion for account name components beyond the first one.

https://bitbucket.org/blais/beancount/issues/138/make-it-possible-to-use-account-names-with


On Mon, Aug 1, 2016 at 8:26 PM, Luciano <[email protected]> wrote:

> Hi Martin,
>
> Quick question. Is there a reason why account and commodity names need to
> be at least two characters?
> Does it make parsing easier or is it just a matter of preference?
>
> I have some holdings of stock with single letter tickers and it'd be nice
> to use their actual tickers in account and commodity names.
> Obviously not a big deal, just a minor annoyance, but if it's a trivial
> change to the grammar I'd welcome it.
>
> I'll dig into the codebase at some point but I'm just now learning Python
> so it might be a while.
>
> Regards,
> Luciano
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/79428dba-3a12-4160-8122-89bd3c301ddf%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/79428dba-3a12-4160-8122-89bd3c301ddf%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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhP0BBd1WwPiK1EWGOJQ3Sx7CPPJoYjzHUEd49g7XmwnxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to