Skip to content

Commit 5cf1463

Browse files
S-H-GAMELINKSydah
authored andcommitted
Merge NODE_LINE and NODE_ENCODING cases in cond0 function
NODE_LINE and NODE_ENCODING cases are used SWITCH_BY_COND_TYPE macro that is same to NODE_INTEGER and other cases. NODE_LINE and NODE_ENCODING cases can be marge to NODE_INTEGER and other node cases.
1 parent dfc2520 commit 5cf1463

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

parse.y

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14228,13 +14228,7 @@ cond0(struct parser_params *p, NODE *node, enum cond_type type, const YYLTYPE *l
1422814228
break;
1422914229

1423014230
case NODE_LINE:
14231-
SWITCH_BY_COND_TYPE(type, warning, "");
14232-
break;
14233-
1423414231
case NODE_ENCODING:
14235-
SWITCH_BY_COND_TYPE(type, warning, "");
14236-
break;
14237-
1423814232
case NODE_INTEGER:
1423914233
case NODE_FLOAT:
1424014234
case NODE_RATIONAL:

0 commit comments

Comments
 (0)