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 122064 - Erroneous error highlight in Php code
Summary: Erroneous error highlight in Php code
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 21:21 UTC by giorgio42
Modified: 2008-02-05 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot with incorrect error annotations (37.98 KB, image/png)
2007-11-15 21:22 UTC, giorgio42
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giorgio42 2007-11-15 21:21:01 UTC
The following (most probably correct, at least working, as I am not a PHP expert) code,
<?php if ($mode == "foo") { ?>
  <font size=5>bar</font>
<?php	} else { ?>
  <font size=5>baz</font>
<?php } ?>

produces error annotations in all lines with <?php.

Georg
Comment 1 giorgio42 2007-11-15 21:22:26 UTC
Created attachment 53081 [details]
Screenshot with incorrect error annotations
Comment 2 Denis Anisimov 2007-11-16 15:19:34 UTC
Will not fix in this release.
Comment 3 Mikhail Matveev 2008-01-30 14:47:30 UTC
Marking as reopened to switch to fixed
Comment 4 Mikhail Matveev 2008-01-30 14:48:59 UTC
Doesn't exist in current builds. Marking as fixed.
Comment 5 kozlov 2008-02-05 13:15:46 UTC
Verified in build 080131.