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.
This commit is contained in:
S-H-GAMELINKS 2025-02-22 16:19:37 +09:00 committed by Yudai Takada
parent dfc2520423
commit 5cf146399f
Notes: git 2025-02-24 09:45:14 +00:00

View File

@ -14228,13 +14228,7 @@ cond0(struct parser_params *p, NODE *node, enum cond_type type, const YYLTYPE *l
break;
case NODE_LINE:
SWITCH_BY_COND_TYPE(type, warning, "");
break;
case NODE_ENCODING:
SWITCH_BY_COND_TYPE(type, warning, "");
break;
case NODE_INTEGER:
case NODE_FLOAT:
case NODE_RATIONAL: