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 165811 - Unresolved ids in perl
Summary: Unresolved ids in perl
Status: RESOLVED DUPLICATE of bug 165243
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 13:36 UTC by nnnnnk
Modified: 2009-05-22 13:38 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 nnnnnk 2009-05-22 13:36:57 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 1 nnnnnk 2009-05-22 13:38:37 UTC

*** This issue has been marked as a duplicate of 165243 ***