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 125077 - syntax errors happen on 6.1 Trunk but 6.0 works
Summary: syntax errors happen on 6.1 Trunk but 6.0 works
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-11 01:23 UTC by Masaki Katakai
Modified: 2008-08-29 09:26 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 Masaki Katakai 2008-01-11 01:23:42 UTC
Product Version: NetBeans IDE Dev (Build 200801101200)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02
System: SunOS version 5.11 running on sparc; ISO646-US; en (nb)

I got a following report from community member. It works on 6.0 but fails on 6.1 trunk.

1. Start NB
2. Create Ruby on Rails project
3. Create a YAML file
4. Put these lines into the editor

  6.1 Trunk displays syntax errors in all lines. 6.0 works.

<% 1.upto(10) do |i| %>
<% 1.upto(10) do |j| %>
<% id = (i - 1) * 10 + j %>
article<%= id %>:
  id: <%= id %>
  subject: Subject<%= id %>
  body: Body
<% end %>
<% end %>
Comment 1 Jan Jancura 2008-01-14 23:05:27 UTC
IMPORT feature does not work
Comment 2 Jan Jancura 2008-01-15 22:48:54 UTC
fixed in trunk:
IDE:-------------------------------------------------
IDE: [1/15/08 11:48 PM] Committing "Generic Languages Framework" started
Checking in lexer/SLexer.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/lexer/SLexer.java,v  <--  SLexer.java
new revision: 1.32; previous revision: 1.31
done
Checking in lexer/DelegatingInputBridge.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/lexer/DelegatingInputBridge.java,v  <--  DelegatingInputBridge.java
new revision: 1.10; previous revision: 1.9
done
Checking in LanguageImpl.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/LanguageImpl.java,v  <--  LanguageImpl.java
new revision: 1.7; previous revision: 1.6
done
Checking in ParserManagerImpl.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/ParserManagerImpl.java,v  <--  ParserManagerImpl.java
new revision: 1.62; previous revision: 1.61
done
IDE: [1/15/08 11:48 PM] Committing "Generic Languages Framework" finished