One more pointer stored into a 32 bits int remove in mvl_parse.
This commit is contained in:
parent
c5431990d5
commit
bf8fe82403
|
@ -15,6 +15,8 @@
|
||||||
#include "mvl_parse.h"
|
#include "mvl_parse.h"
|
||||||
#include "mvl_utdef.h"
|
#include "mvl_utdef.h"
|
||||||
|
|
||||||
|
int yydebug = 1;
|
||||||
|
|
||||||
extern void mvl_y_restart();
|
extern void mvl_y_restart();
|
||||||
|
|
||||||
void vhdlloadlofig (pt_lofig, figname, mode)
|
void vhdlloadlofig (pt_lofig, figname, mode)
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "gen_generic.h"
|
#include "gen_generic.h"
|
||||||
|
|
||||||
|
|
||||||
|
extern int yydebug = 1;
|
||||||
extern int yylex ();
|
extern int yylex ();
|
||||||
extern void yyerror ();
|
extern void yyerror ();
|
||||||
|
|
||||||
|
@ -42,6 +43,8 @@ static struct logen MVL_LOGEN;
|
||||||
static long base ;
|
static long base ;
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
/* %define parse.trace */
|
||||||
|
|
||||||
%union
|
%union
|
||||||
{
|
{
|
||||||
long valu;
|
long valu;
|
||||||
|
@ -1460,15 +1463,15 @@ primary
|
||||||
{
|
{
|
||||||
mvl_expr expr;
|
mvl_expr expr;
|
||||||
struct losig *losig_pnt;
|
struct losig *losig_pnt;
|
||||||
long i;
|
long i;
|
||||||
long left;
|
long left;
|
||||||
long right;
|
long right;
|
||||||
long left_bnd;
|
long left_bnd;
|
||||||
long right_bnd;
|
long right_bnd;
|
||||||
long sig_width;
|
long sig_width;
|
||||||
long rev_flg;
|
long rev_flg;
|
||||||
long in_bound;
|
long in_bound;
|
||||||
long out_bound;
|
long out_bound;
|
||||||
|
|
||||||
if (mvl_chktab (MVL_HSHTAB,$1.NAME,MVL_MODNAM,MVL_SIGDFN) != 0)
|
if (mvl_chktab (MVL_HSHTAB,$1.NAME,MVL_MODNAM,MVL_SIGDFN) != 0)
|
||||||
{
|
{
|
||||||
|
@ -1493,7 +1496,7 @@ primary
|
||||||
sig_width = right_bnd - left_bnd + 1;
|
sig_width = right_bnd - left_bnd + 1;
|
||||||
if (left <= right)
|
if (left <= right)
|
||||||
{
|
{
|
||||||
expr.WIDTH = right - left + 1;
|
expr.WIDTH = right - left + 1;
|
||||||
rev_flg = 0;
|
rev_flg = 0;
|
||||||
in_bound = right_bnd - right;
|
in_bound = right_bnd - right;
|
||||||
out_bound = right_bnd - left;
|
out_bound = right_bnd - left;
|
||||||
|
@ -1502,7 +1505,7 @@ primary
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
expr.WIDTH = left - right + 1;
|
expr.WIDTH = left - right + 1;
|
||||||
rev_flg = 1;
|
rev_flg = 1;
|
||||||
in_bound = right_bnd - left;
|
in_bound = right_bnd - left;
|
||||||
out_bound = right_bnd - right;
|
out_bound = right_bnd - right;
|
||||||
|
@ -1524,7 +1527,7 @@ primary
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
expr.WIDTH = left - right + 1;
|
expr.WIDTH = left - right + 1;
|
||||||
rev_flg = 0;
|
rev_flg = 0;
|
||||||
in_bound = right - right_bnd;
|
in_bound = right - right_bnd;
|
||||||
out_bound = left - right_bnd;
|
out_bound = left - right_bnd;
|
||||||
|
|
|
@ -28,5 +28,5 @@ struct dct_recrd
|
||||||
short fd4_val;
|
short fd4_val;
|
||||||
short fd5_val;
|
short fd5_val;
|
||||||
short fd6_val;
|
short fd6_val;
|
||||||
int pnt_val;
|
long pnt_val;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue