dlang-community / SDLang-D

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

Disallow multiline and comments inside timestamps #74

Open WebFreak001 opened 1 year ago

WebFreak001 commented 1 year ago

timestamps like this needlessly complicate the parsing and things like formatters, this kind of thing should be forbidden:

// these are valid timestamps:
2013/2/22/*foo*/07:53

2013/2/22 /*foo*/ \
  /*bar*/ 07:53

2013/2/22 /*foo*/ \
\
  \
  /*bar*/ 07:53

this is a wishlist item for spec v2