This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245505 - Unexpected token found
Summary: Unexpected token found
Status: RESOLVED DUPLICATE of bug 237205
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@web
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-09 06:55 UTC by Tomas Mysik
Modified: 2014-07-17 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2014-07-09 06:55:19 UTC
I just tried the first sample from LESS website [1]:

--------------------------------------
@base: #f938ab;

.box-shadow(@style, @c) when (iscolor(@c)) {
  -webkit-box-shadow: @style @c;
  box-shadow:         @style @c;
}
.box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {
  .box-shadow(@style, rgba(0, 0, 0, @alpha));
}
.box {
  color: saturate(@base, 5%);
  border-color: lighten(@base, 30%);
  div { .box-shadow(0 0 5px, 30%) }
}
--------------------------------------

Thanks.
[1] http://lesscss.org/

Product Version: NetBeans IDE Dev (Build 20140708-67cda4e20c1f)
Java: 1.7.0_60; Java HotSpot(TM) 64-Bit Server VM 24.60-b09
Runtime: Java(TM) SE Runtime Environment 1.7.0_60-b19
System: Linux version 3.13.0-30-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Marek Fukala 2014-07-17 09:34:28 UTC

*** This bug has been marked as a duplicate of bug 237205 ***