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 165243 - Inaccuracy tests: regression in Perl
Summary: Inaccuracy tests: regression in Perl
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
: 165811 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-15 09:41 UTC by soldatov
Modified: 2009-11-09 12:05 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 soldatov 2009-05-15 09:41:46 UTC
in April
===>Name = perl, Files = 252, Errors = 0, Warnings = 0, Invalid identifiers = 36, Invalid identifiers (Warnings) = 0,
Other Annotations = 0, Lines = 428344, 1000.0*Invalid identifiers/Lines = 0.09, 100*Files with errors/All files = 4.77

now:
===>Name = perl, Files = 252, Errors = 0, Warnings = 0, Invalid identifiers = 61, Invalid identifiers (Warnings) = 0,
Other Annotations = 0, Lines = 428344, 1000.0*Invalid identifiers/Lines = 0.15, 100*Files with errors/All files = 5.16

Changes Summary:
IA_/export/new_projects/perl-5.8.5/toke.c	er_identifiers	+9223372036854775807%↑
-               IA_perl_2009_04_21 	IA_perl_2009_05_1
er_identifiers 	0 	                25
Comment 1 nnnnnk 2009-05-22 13:38:36 UTC
*** Issue 165811 has been marked as a duplicate of this issue. ***
Comment 2 nnnnnk 2009-05-22 13:38:49 UTC
Project:
toke.c
----------------------------
#include "EXTERN.h"
#include "perl.h"
void
S_force_word(register char *start, int token, int check_keyword, int allow_pack, int allow_initial_tick)
{
    PL_nextval[0].opval;
}
---------------------------

EXTERN.h
---------------------------
#define EXT extern
---------------------------

perl.h
---------------------------
#include "perly.h"
#include "embedvar.h"
#define PERLVARA(var,n,type) EXT type PL_##var[n];
#include "intrpvar.h"
---------------------------

perly.h
---------------------------
typedef union {
    int opval;
} YYSTYPE;
---------------------------

embedvar.h
---------------------------
#define PL_Inextval		PL_nextval
---------------------------

intrpvar.h
---------------------------
PERLVARA(Inextval,5,	YYSTYPE)	/* value of next token, if any */
---------------------------

a2p.c
---------------------------
typedef int YYSTYPE;
---------------------------

Add empty string to beginning of EXTERN.h and save
Add empty string to beginning of a2p.c and save
Add empty string to beginning of embedvar.h and save
Add empty string to beginning of intrpvar.h and save
Add empty string to toke.c after #include "perl.h" and save

Then there should be unresolved opval.
Comment 3 Leonid Lenyashin 2009-10-23 10:13:06 UTC
Regression
Comment 4 nnnnnk 2009-10-27 19:02:10 UTC
Now it's very hard to reproduce this bug.
My scenario doesn't work.
The reason is www.netbeans.org/issues/show_bug.cgi?id=165945.