Skip to content

Commit

Permalink
LESS: Enable parsing of "optional" imports (@import (optional) "user.…
Browse files Browse the repository at this point in the history
…less";)

Closes: #6447
  • Loading branch information
matthiasblaesing committed Sep 14, 2023
1 parent 3bcece4 commit e279788
Show file tree
Hide file tree
Showing 4 changed files with 661 additions and 657 deletions.
2 changes: 1 addition & 1 deletion ide/css.lib/src/org/netbeans/modules/css/lib/Css3.g
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ sass_content
;
less_import_types:
{tokenNameIs(new String[]{"LESS", "CSS", "REFERENCE", "INLINE", "ONCE", "MULTIPLE"})}? IDENT
{tokenNameIs(new String[]{"LESS", "CSS", "REFERENCE", "INLINE", "ONCE", "MULTIPLE", "OPTIONAL"})}? IDENT
; catch[ RecognitionException rce] {
reportError(rce);
input.consume();
Expand Down
Loading

0 comments on commit e279788

Please sign in to comment.