satyr / coco

Unfancy CoffeeScript

Home Page:http://satyr.github.com/coco/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

allows comments in implicit listar

vendethiel opened this issue · comments

commented

Such as

a =
 'a'
 'b'
 /*
 */
commented

ah, that's one thing we can't do because we don't know where to insert them, right ? feel free to close this if so

Assuming you mean block comments, we don't even allow them in explicit arrays:

$ coco -bcs
[
  1
  2
  /**/
]

SyntaxError: unexpected `/**/` on line 4
commented

Eh, that's true. Too bad.