dvm updated, version of sapfor updated
This commit is contained in:
@@ -736,10 +736,11 @@ void Init_Unparser()
|
||||
/* set the first tabulation */
|
||||
TabNumber = 1;
|
||||
}
|
||||
} else
|
||||
{
|
||||
if (Parser_Initiated != C_Initialized)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Parser_Initiated != C_Initialized)
|
||||
{
|
||||
#define DEFNODECODE(SYM, NAME, TYPE, LENGTH, NT) Unparse_Def[SYM].str = create_unp_str( NAME);
|
||||
#include"unparseC++.def"
|
||||
#undef DEFNODECODE
|
||||
@@ -747,12 +748,15 @@ void Init_Unparser()
|
||||
#define DEFNODECODE(SYM, NAME, TYPE, LENGTH, NT) Unparse_Def[SYM].fct = NULL;
|
||||
#include"unparseC++.def"
|
||||
#undef DEFNODECODE
|
||||
Parser_Initiated = C_Initialized;
|
||||
/* init precedence table of operators for C++ */
|
||||
for(i=BIT_COMPLEMENT_OP - EQ_OP; i<=RSHIFT_ASSGN_OP-EQ_OP;i++)
|
||||
precedence_C[i] = precedence2_C[i-BIT_COMPLEMENT_OP+EQ_OP];
|
||||
}
|
||||
}
|
||||
Parser_Initiated = C_Initialized;
|
||||
/* set the first tabulation */
|
||||
TabNumber = 0;
|
||||
|
||||
/* init precedence table of operators for C++ */
|
||||
for(i=BIT_COMPLEMENT_OP - EQ_OP; i<=RSHIFT_ASSGN_OP-EQ_OP;i++)
|
||||
precedence_C[i] = precedence2_C[i-BIT_COMPLEMENT_OP+EQ_OP];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* initialize the number of flag */
|
||||
|
||||
Reference in New Issue
Block a user