Open dominictarr opened 12 years ago
syntax for comments is really awkward.
console.log('hello') // comment Error: Parse error on line 2: Unexpected 'COMMENT'
the expected behaviour is for the parser to just ignore comments.
Indeed the parser should accept comments in "natural" places. This is a major annoyance because one cannot just comment out code that does not work. One must move it in a safe place first.
syntax for comments is really awkward.
the expected behaviour is for the parser to just ignore comments.