l20n / spec

Specification and design documents for L20n
http://l20n.github.com/spec/
10 stars 6 forks source link

add (optional) whitespace to member at its start #12

Closed GlenDC closed 7 years ago

GlenDC commented 7 years ago

This PR adds optional whitespace in front of a member, as I guess that's already expected anyhow?

Given the following example (taken form: http://l20n.org/learn/variants):

brandName =
 *[nominative] Aurora
  [genitive] Aurore
  [dative] Aurori
  [accusative] Auroro
  [locative] Aurori
  [instrumental] Auroro

It can be seen that we clearly expect an indention (1 and 2 spaces in this example) here, and thus this should be part of the grammar specification IMHO, as this is what implementations are based on, I think?

stasm commented 7 years ago

Hey @GlenDC, sorry for the radio silence here. This was of course a bug. Thanks for the fix!