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.
Summary: | Unable to close php block after string // ? ' | ||
---|---|---|---|
Product: | php | Reporter: | kozlov <kozlov> |
Component: | Editor | Assignee: | Denis Anisimov <ads> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
kozlov
2007-11-20 13:04:17 UTC
Reproduced. The problem is in line comments that cannot contain "?>" inside this comment. Line comment is ended if "?>" appeared and it is treated as end of php block. Described behavior is consequence of current php block recognition impl. Checking in php/lexer/src/org/netbeans/modules/php/lexer/InsidePhpStateStrategy.java; /cvs/scripting/php/lexer/src/org/netbeans/modules/php/lexer/InsidePhpStateStrategy.java,v <-- InsidePhpStateStrategy.java new revision: 1.8; previous revision: 1.7 done Changed target milestone to 6.0 Verified in beta. |