Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow CSS Block comments #1839

Closed
WebsiteDeveloper opened this issue Jan 31, 2014 · 5 comments
Closed

Allow CSS Block comments #1839

WebsiteDeveloper opened this issue Jan 31, 2014 · 5 comments

Comments

@WebsiteDeveloper
Copy link

/* Test */
does throw a parsing error in version 1.6.1
The Error is "Parse Error: unmatched "/*" "

@seven-phases-max
Copy link
Member

Could you please provide more details? Your example is not enough to reproduce the error (just /* Test */ compiles fine with 1.6.1, so I guess it's something probably related to #1833 or similar).

@WebsiteDeveloper
Copy link
Author

@seven-phases-max
Copy link
Member

I see, it's not the same as #1833 but probably having same roots.

@WebsiteDeveloper
Copy link
Author

Looking forward for it to get fixed 😄

@seven-phases-max
Copy link
Member

Ok, I found a problem - actually it's just a typo in this Less code - see https://github.com/adobe/brackets/blob/master/src/styles/brackets_patterns_override.less#L1123 - notice ) at the end of the statement. It causes all following /* .. */ to fail. So it's not really a Less bug (but apparently the parser could detect such errors better).

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

No branches or pull requests

3 participants