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 246534 - inaccuracy tests: regression in 5 projects
Summary: inaccuracy tests: regression in 5 projects
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 07:37 UTC by soldatov
Modified: 2014-11-11 12:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Fix (2.54 KB, patch)
2014-09-12 17:30 UTC, petrk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-08-19 07:37:54 UTC
Formally we have regression in 5 projects (and in all complex test bases).

For example regression in Loki (7 invalid identifiers instead of 5):
> loki-0.1.7/include/loki/Visitor.h 267 Unable to resolve identifier Visit.
> loki-0.1.7/include/loki/Visitor.h 288 Unable to resolve identifier Visit.

Also I investigated 1 of complex test bases. Formally we have regression in C99 files. In old builds:
  ...
  complex_code;// some complex code breaks parser
  other_coder; // unexpected token
  if (...)     // unexpected token
      return;  // ok
  if (...)     // unexpected token
      return;  // ok
}              // ok

In new builds:
  ...
  complex_code;// some complex code breaks parser
  other_coder; // unexpected token
  if (...)     // unexpected token
      return;  // unexpected token: return
  if (...)     // unexpected token
      return;  // unexpected token: return
}              // unexpected token: }
Comment 1 petrk 2014-09-12 17:30:13 UTC
Created attachment 149180 [details]
Fix
Comment 2 petrk 2014-09-26 15:13:17 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/0264820c1a30
Comment 3 soldatov 2014-11-07 11:32:23 UTC
most of problems are fixed in NetBeans trunk (build 20141017)