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

CSS: Parsing error "unexpected token SASS_FORWARD" in LESS file #5104

Closed
troizet opened this issue Dec 13, 2022 · 2 comments · Fixed by #5142
Closed

CSS: Parsing error "unexpected token SASS_FORWARD" in LESS file #5104

troizet opened this issue Dec 13, 2022 · 2 comments · Fixed by #5142
Assignees
Labels
kind:bug Bug report or fix

Comments

@troizet
Copy link
Collaborator

troizet commented Dec 13, 2022

Apache NetBeans version

Apache NetBeans 16

What happened

Parsing error "unexpected token SASS_FORWARD" in LESS file.

How to reproduce

  • create a LESS file
  • write @forward: 'test';

Did this work correctly in an earlier version?

No / Don't know

Operating System

Debian 10

JDK

11.0.16; OpenJDK 64-Bit Server VM 11.0.16+8-post-Debian-1deb10u1

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Code of Conduct

Yes

@troizet troizet added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Dec 13, 2022
@matthiasblaesing matthiasblaesing removed the needs:triage Requires attention from one of the committers label Dec 23, 2022
@matthiasblaesing matthiasblaesing self-assigned this Dec 23, 2022
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Dec 23, 2022
@use and @forward were parsed as SCSS tokens, which leads to failures
in LESS files.

This was most probably introduced by 3a64a84
@matthiasblaesing
Copy link
Contributor

Please check the referenced PR. A testbuild is available there. I'd appreciate a review/test.

@troizet
Copy link
Collaborator Author

troizet commented Dec 26, 2022

@matthiasblaesing I tried a test build. Everything works. Thank you!

matthiasblaesing added a commit that referenced this issue Dec 26, 2022
pepness pushed a commit to pepness/incubator-netbeans that referenced this issue Jan 9, 2023
@use and @forward were parsed as SCSS tokens, which leads to failures
in LESS files.

This was most probably introduced by 3a64a84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants