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 156915 - SQL CC in PHP not working with incomplete NOWDOCS
Summary: SQL CC in PHP not working with incomplete NOWDOCS
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 20:34 UTC by David Vancouvering
Modified: 2009-10-16 10:14 UTC (History)
1 user (show)

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 David Vancouvering 2009-01-15 20:34:56 UTC
If you type in a NOWDOC string without correctly terminating it, SQL CC doesn't work.  Note that PHP CC does work.

For example:

        $var = <<<'NOW'
        select * from |

doesn't work but

        $var = <<<'NOW'
        select * from |
NOW;

does work.
Comment 1 Jiri Rechtacek 2009-02-10 15:36:54 UTC
Reassigned to new owner.
Comment 2 Jiri Skrivanek 2009-10-15 10:08:37 UTC
Fixed.
core-main #048dd77afcfc
Comment 3 Quality Engineering 2009-10-16 10:14:05 UTC
Integrated into 'main-golden', will be available in build *200910160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/048dd77afcfc
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #156915 - Handle UNKNOWN_TOKEN as possible SQL statement.