l20n / spec

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

Disallow whitespace before an entry #4

Closed spagy closed 7 years ago

spagy commented 8 years ago

From grammar.ebnf:

body ::= (__ entry NL)* (__ entry)? EOF;

Before every occurrence of there is optional whitespace. However when playing around with tinker whitespace isn't allowed before any of the three types of entry (comment, message, section).

Each time the error message is "Expected new line and a new entry"

stasm commented 7 years ago

Yup, good catch. Do you want to create a PR for this?

spagy commented 7 years ago

There it is :)