Determine amount & commodity during parsing

If @@ or @ spec is used in entry, commodity is before @@/@, and amount is
after.
Otherwise it's an amount.