eval2: fix parsing task popping rules, still give chance to rhs when popping tasks in all cases

This commit is contained in:
Ryan Fleury committed 2026-06-27 04:25:05 -07:00
1 parent b704e797e2
commit cae9754099
5 files changed
+217 -224

No files matched your search

+9 -5
View File
@@ -4,7 +4,7 @@
//- GENERATED CODE
C_LINKAGE_BEGIN
B8 e2_expr_kind_allow_type_operands_table[43] =
B8 e2_expr_kind_allow_type_operands_table[44] =
{
0,
0,
@@ -12,12 +12,13 @@ B8 e2_expr_kind_allow_type_operands_table[43] =
0,
1,
1,
1,
0,
0,
0,
1,
0,
1,
0,
1,
1,
1,
@@ -51,7 +52,7 @@ B8 e2_expr_kind_allow_type_operands_table[43] =
1,
};
B8 e2_expr_kind_is_type_expr_table[43] =
B8 e2_expr_kind_is_type_expr_table[44] =
{
0,
0,
@@ -59,6 +60,7 @@ B8 e2_expr_kind_is_type_expr_table[43] =
1,
1,
1,
1,
0,
0,
0,
@@ -98,7 +100,7 @@ B8 e2_expr_kind_is_type_expr_table[43] =
0,
};
B8 e2_expr_kind_is_first_operand_type_maybe_table[43] =
B8 e2_expr_kind_is_first_operand_type_maybe_table[44] =
{
0,
0,
@@ -106,6 +108,7 @@ B8 e2_expr_kind_is_first_operand_type_maybe_table[43] =
0,
1,
1,
1,
0,
0,
0,
@@ -145,7 +148,7 @@ B8 e2_expr_kind_is_first_operand_type_maybe_table[43] =
0,
};
U64 e2_expr_kind_target_operand_count_table[43] =
U64 e2_expr_kind_target_operand_count_table[44] =
{
0,
0,
@@ -153,6 +156,7 @@ U64 e2_expr_kind_target_operand_count_table[43] =
0,
1,
2,
0xffffffffffffffffull,
0,
0,
0,
+5 -4
View File
@@ -14,6 +14,7 @@ E2_ExprKind_MacroArg,
E2_ExprKind_TypeIdentifier,
E2_ExprKind_Ptr,
E2_ExprKind_Array,
E2_ExprKind_Function,
E2_ExprKind_Numeric,
E2_ExprKind_StringLiteral,
E2_ExprKind_CharLiteral,
@@ -158,10 +159,10 @@ E2_ExprKindParseInfo *expr_kind_parse_infos;
};
C_LINKAGE_BEGIN
extern B8 e2_expr_kind_allow_type_operands_table[43];
extern B8 e2_expr_kind_is_type_expr_table[43];
extern B8 e2_expr_kind_is_first_operand_type_maybe_table[43];
extern U64 e2_expr_kind_target_operand_count_table[43];
extern B8 e2_expr_kind_allow_type_operands_table[44];
extern B8 e2_expr_kind_is_type_expr_table[44];
extern B8 e2_expr_kind_is_first_operand_type_maybe_table[44];
extern U64 e2_expr_kind_target_operand_count_table[44];
extern E2_LangInfo e2_lang_kind_info_table[1];
extern E2_ExprKindParseInfo e2_expr_kind_parse_info_table__clike[38];
extern U8 e2_type_kind_basic_byte_size_table[61];