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 234683 - LESS: Unexpected token
Summary: LESS: Unexpected token
Status: RESOLVED DUPLICATE of bug 227510
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-21 08:09 UTC by Tomas Mysik
Modified: 2013-08-21 08:15 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 2013-08-21 08:09:38 UTC
Sample:

---------- %< ----------
@base: #f938ab;

.box-shadow(@style, @c) when (iscolor(@c)) {
    box-shadow:         @style @c;
    -webkit-box-shadow: @style @c;
    -moz-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%) }
}
---------- %< ----------

The file is compiled without any errors.

Product Version: NetBeans IDE Dev (Build 20130820-840feebb454f)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.8.0-27-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Marek Fukala 2013-08-21 08:15:22 UTC
Fixed yesterday - Bug 227510 - LESS parsing issues

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