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 258386

Summary: Syntax highlight assumes a comment where there is none.
Product: cnd Reporter: rovf7
Component: shAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description rovf7 2016-03-15 16:36:01 UTC
In the sh statements

    : ${NAME#*_}
    : ${NAME##*_}

the part after NAME is highlighted as a comment. It looks as if the # character is incorrectly interpreted as start of a comment.
Comment 1 Alexander Simon 2016-06-20 10:22:00 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/b282b5cfeca6