>>>>> Harshad RJ <[email protected]> writes:

> It keeps biting me once in a while. I guess this is a minor one to fix (for
> someone in the know). Can you please fix it?

This bug cannot be fixed easily in the current parser.  Since I do not do
lookahead to find the '=', or treat the 'define' directive specially,
"var_name_1" is treated as a commodity with value 1, and symbol "var_name_".

You will have to use fully alphabetic names, like var_name_a.  I know this
seems like a stupid oversight, but the Ledger expression language is actually
quite simplistic, and should not be considered as being on the same footing as
general purpose languages.

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to