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 168006 - Error: Unexpected tIDENTIFIER
Summary: Error: Unexpected tIDENTIFIER
Status: RESOLVED DUPLICATE of bug 166713
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-02 06:26 UTC by hedge_hog
Modified: 2009-07-02 07:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Syntax error screen shot (53.14 KB, image/png)
2009-07-02 06:28 UTC, hedge_hog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hedge_hog 2009-07-02 06:26:54 UTC
Following code, see attached image, shows error for code that should be legal.  Original context was 'exit(0)' in place
of the puts(...) which I used just to emphasize the error.

HTH?

begin
  require 'something'
rescue LoadError
  puts <<-EOS
To use rspec for testing you must install rspec gem:
    gem install rspec
EOS
 puts('NB 6.7 hints: Unexpected tIDENTIFIER')
end
Comment 1 hedge_hog 2009-07-02 06:28:28 UTC
Created attachment 84280 [details]
Syntax error screen shot
Comment 2 hedge_hog 2009-07-02 06:30:01 UTC
Just setting the platform and OS values.
Comment 3 Erno Mononen 2009-07-02 07:25:51 UTC
This is fixed already, but unfortunately the fix didn't make it to 6.7 -- patch 1 for 6.7 will deliver the fix though. 
Thanks for the report in any case.

*** This issue has been marked as a duplicate of 166713 ***