Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

syntax for comments #127

Open
dominictarr opened this issue Apr 22, 2012 · 1 comment
Open

syntax for comments #127

dominictarr opened this issue Apr 22, 2012 · 1 comment
Labels

Comments

@dominictarr
Copy link

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.

@cognominal
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants