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.
Please try following: @mixin ui-convex($color: #ddd) { background: $color; $opacitytop: percentage(1-$opacity-top); $opacity-bottom: percentage(1-$opacity-bottom); } => lines with $opacitytop and $opacity-bottom are marked with errors due to the 1-$opacity 1-$opacity-bottom with message about unexpected character $ and unexpected token COLON. I guess the problem is in treating the 1st minus sign as dash and not mathematical operator. Thank you Product Version: NetBeans IDE Dev (Build 201411180001) Java: 1.7.0_72; Java HotSpot(TM) Client VM 24.72-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_72-b14 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
The shortest example is $a : 1-$b. The problem is that IDENT can start with minus like -webkit-transform and Lexer predicts that there is IDENT in -$ and after check it fails. I already spent a lot of time on this. It probably needs a lot of changes in grammar. 1+$b works if IDENT cannot start with '-' it works.