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.
The parser appears to have issues with the following: hdoc = <<END END puts hdoc The last line in the above gets incorrectly highlighted as an error (unexpexted tIDENTIFIER); adding a line break before it makes the error go away. Needs to be fixed in jruby-parser.
I'm working on a fix for jruby-parser to fix this. Rather annoying when editing/viewing source that has a lot of heredocs. Will try to provide a fix in time for patch1.
Fixed in jruby-parser and updated the lib in 280f35150229.
Martine, can you please verify this? I'd like to get this fix to patch1.
*** Issue 166956 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200906120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/280f35150229 User: Erno Mononen <emononen@netbeans.org> Log: #166713: Statements right after heredocs highlighted as errors
Verified in trunk build.
Thanks for verifying, I'm nominating this for 67patch1.
*** Issue 167060 has been marked as a duplicate of this issue. ***
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/1bac295d7121
*** Issue 168006 has been marked as a duplicate of this issue. ***