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 248898

Summary: Parsing error - calling own URL function in SASS document
Product: web Reporter: Milutin Kristofic <mkristofic>
Component: CSS Preprocessors (SASS, LESS, ...)Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tmysik
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screen shot of hint about unexpected COLON

Description Milutin Kristofic 2014-11-25 19:04:09 UTC
Example: 
@function oj-image-url($path){
 @return url($imageDir + $path);
}

URL(STRING) is used in definition of URLs in CSS, so this is difficult for parser to see difference from sass function with name URL
Comment 1 Milutin Kristofic 2015-04-17 10:40:21 UTC

*** This bug has been marked as a duplicate of bug 238988 ***
Comment 2 rweaver 2015-09-14 22:53:47 UTC
Created attachment 156166 [details]
screen shot of hint about unexpected COLON
Comment 3 rweaver 2015-09-14 22:55:26 UTC
Another example from my LESS file:

li {
    background: transparent url(@{img_path}list-bullet.png) no-repeat 0 0;
				padding-left: 14px;
				margin-bottom: 5px;
}

The hint shows up on the background tag.