dlang-community / SDLang-D

An SDLang (Simple Declarative Language) library for D
http://sdlang.org
Other
120 stars 21 forks source link

Bogus parse error for empty strings at EOL #34

Closed s-ludwig closed 8 years ago

s-ludwig commented 8 years ago
""

The above document (with a newline at the end) generates:

Unescaped newlines are only allowed in raw strings, not regular strings.

sdlang-d 0.9.4

s-ludwig commented 8 years ago

Also has more consequences: test a="" b="hello world" generates:

Expected '=' after attribute name, not Ident