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 213043 - Unexpected token >>
Summary: Unexpected token >>
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-26 12:55 UTC by RiaD
Modified: 2012-06-04 09:52 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 RiaD 2012-05-26 12:55:14 UTC
Product Version = NetBeans IDE 7.2 Beta (Build 201205031832)
Operating System = Linux version 3.2.0-24-generic-pae running on i386
Java; VM; Vendor = 1.7.0_03
Runtime = OpenJDK Client VM 22.0-b10


code:

double solve(){
	int a;
	cin >> a; //unexpected >> here.
	return a/2.0;
}

It should be OK.
Comment 1 nnnnnk 2012-06-01 16:13:58 UTC
regression on c++11 projects.
Comment 2 nnnnnk 2012-06-04 09:52:13 UTC
fixed:
http://hg.netbeans.org/cnd-main/rev/9384f0410702