fdvm updated
This commit is contained in:
@@ -33,7 +33,15 @@ characteristic_list: characteristic
|
||||
;
|
||||
|
||||
characteristic: needkeyword SPF_CODE_COVERAGE
|
||||
{ $$ = make_llnd(fi,SPF_CODE_COVERAGE_OP,LLNULL,LLNULL,SMNULL);}
|
||||
{ $$ = make_llnd(fi,SPF_CODE_COVERAGE_OP,LLNULL,LLNULL,SMNULL);}
|
||||
| needkeyword SPF_WEIGHT LEFTPAR DP_CONSTANT RIGHTPAR
|
||||
{
|
||||
PTR_LLND w;
|
||||
w = make_llnd(fi,DOUBLE_VAL, LLNULL, LLNULL, SMNULL);
|
||||
w->entry.string_val = copys(yytext);
|
||||
w->type = global_double;
|
||||
$$ = make_llnd(fi,SPF_WEIGHT_OP,w,LLNULL,SMNULL);
|
||||
}
|
||||
;
|
||||
|
||||
opt_clause_apply_fragment:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -401,8 +401,9 @@ extern int yydebug;
|
||||
SPF_MERGE = 354,
|
||||
SPF_COVER = 355,
|
||||
SPF_PROCESS_PRIVATE = 356,
|
||||
BINARY_OP = 359,
|
||||
UNARY_OP = 360
|
||||
SPF_WEIGHT = 357,
|
||||
BINARY_OP = 360,
|
||||
UNARY_OP = 361
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -411,7 +412,7 @@ extern int yydebug;
|
||||
|
||||
union YYSTYPE
|
||||
{
|
||||
#line 439 "gram1.y" /* yacc.c:1909 */
|
||||
#line 440 "gram1.y" /* yacc.c:1909 */
|
||||
|
||||
int token;
|
||||
char charv;
|
||||
@@ -423,7 +424,7 @@ union YYSTYPE
|
||||
PTR_HASH hash_entry;
|
||||
PTR_LABEL label;
|
||||
|
||||
#line 427 "gram1.tab.h" /* yacc.c:1909 */
|
||||
#line 428 "gram1.tab.h" /* yacc.c:1909 */
|
||||
};
|
||||
|
||||
typedef union YYSTYPE YYSTYPE;
|
||||
|
||||
@@ -354,6 +354,7 @@
|
||||
%token SPF_MERGE 354
|
||||
%token SPF_COVER 355
|
||||
%token SPF_PROCESS_PRIVATE 356
|
||||
%token SPF_WEIGHT 357
|
||||
|
||||
%{
|
||||
#include <string.h>
|
||||
@@ -8029,7 +8030,15 @@ characteristic_list: characteristic
|
||||
;
|
||||
|
||||
characteristic: needkeyword SPF_CODE_COVERAGE
|
||||
{ $$ = make_llnd(fi,SPF_CODE_COVERAGE_OP,LLNULL,LLNULL,SMNULL);}
|
||||
{ $$ = make_llnd(fi,SPF_CODE_COVERAGE_OP,LLNULL,LLNULL,SMNULL);}
|
||||
| needkeyword SPF_WEIGHT LEFTPAR DP_CONSTANT RIGHTPAR
|
||||
{
|
||||
PTR_LLND w;
|
||||
w = make_llnd(fi,DOUBLE_VAL, LLNULL, LLNULL, SMNULL);
|
||||
w->entry.string_val = copys(yytext);
|
||||
w->type = global_double;
|
||||
$$ = make_llnd(fi,SPF_WEIGHT_OP,w,LLNULL,SMNULL);
|
||||
}
|
||||
;
|
||||
|
||||
opt_clause_apply_fragment:
|
||||
|
||||
@@ -610,6 +610,7 @@ struct Keylist keys[] = {
|
||||
{"varlist", VARLIST},
|
||||
{"virtual", VIRTUAL},
|
||||
{"wait", WAIT},
|
||||
{"weight", SPF_WEIGHT},
|
||||
{"wgt_block", WGT_BLOCK},
|
||||
{"where", WHERE},
|
||||
{"while", WHILE},
|
||||
|
||||
@@ -624,4 +624,5 @@
|
||||
#define SPF_COVER_OP 972 /* SAPFOR */
|
||||
#define SPF_MERGE_OP 973 /* SAPFOR */
|
||||
#define SPF_PROCESS_PRIVATE_OP 974 /* SAPFOR */
|
||||
#define SPF_WEIGHT_OP 975 /* SAPFOR */
|
||||
|
||||
|
||||
@@ -239,7 +239,7 @@ script using "tag". Run make tag.h to regenerate this file */
|
||||
tag [ DVM_TEMPLATE_CREATE_DIR ] = "DVM_TEMPLATE_CREATE_DIR";
|
||||
tag [ DVM_TEMPLATE_DELETE_DIR ] = "DVM_TEMPLATE_DELETE_DIR";
|
||||
tag [ PRIVATE_AR_DECL ] = "PRIVATE_AR_DECL";
|
||||
|
||||
|
||||
/***************** variant tags for low level nodes ********************/
|
||||
|
||||
tag [ INT_VAL ] = "INT_VAL";
|
||||
@@ -626,4 +626,5 @@ script using "tag". Run make tag.h to regenerate this file */
|
||||
tag [ SPF_COVER_OP ] = "SPF_COVER_OP";
|
||||
tag [ SPF_MERGE_OP ] = "SPF_MERGE_OP";
|
||||
tag [ SPF_PROCESS_PRIVATE_OP ] = "SPF_PROCESS_PRIVATE_OP";
|
||||
tag [ SPF_WEIGHT_OP ] = "SPF_WEIGHT_OP";
|
||||
|
||||
|
||||
@@ -354,3 +354,4 @@
|
||||
#define SPF_MERGE 354
|
||||
#define SPF_COVER 355
|
||||
#define SPF_PROCESS_PRIVATE 356
|
||||
#define SPF_WEIGHT 357
|
||||
|
||||
@@ -354,3 +354,4 @@ SPF_UNROLL
|
||||
SPF_MERGE
|
||||
SPF_COVER
|
||||
SPF_PROCESS_PRIVATE
|
||||
SPF_WEIGHT
|
||||
Reference in New Issue
Block a user