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 - Syntax highlight assumes a comment where there is none.
Summary: Syntax highlight assumes a comment where there is none.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: sh (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-15 16:36 UTC by rovf7
Modified: 2016-06-20 10:22 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 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