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 146875 - wrong parsing giving unexpected tIDENTIFIER
Summary: wrong parsing giving unexpected tIDENTIFIER
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-11 05:27 UTC by nigel_bris
Modified: 2008-09-30 18:59 UTC (History)
0 users

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 nigel_bris 2008-09-11 05:27:04 UTC
The following line causes an "Unexpected tIDENTIFIER"
<% disable_weight = false %><% is_total = false %>
Even though the line is valid


This line (with =) is parsed as valid...
<%= disable_weight = false %><% is_total = false %>
Comment 1 Torbjorn Norbye 2008-09-30 18:59:27 UTC
Yes, the erb to ruby translation needs to insert semicolons when there is input on the same line after the Ruby code.

Fixed in changeset 5eba13f50e84.