mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-24 13:45:05 +00:00
Fix final remaining Py_ patterns
- Fixed Py_CONSTANT_* → Ty_CONSTANT_* - Fixed Py_UNREACHABLE → Ty_UNREACHABLE - Fixed Py_*_input constants (file_input, single_input, eval_input, func_type_input) - Fixed _Py_COMP_DIAG_* compiler diagnostic macros Build continues to progress toward completion. Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -127,7 +127,7 @@ expr_context_name(expr_context_ty ctx)
|
||||
return "Del";
|
||||
// No default case so compiler emits warning for unhandled cases
|
||||
}
|
||||
Py_UNREACHABLE();
|
||||
Ty_UNREACHABLE();
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
@@ -107,7 +107,7 @@ context_event_name(PyContextEvent event) {
|
||||
default:
|
||||
return "?";
|
||||
}
|
||||
Py_UNREACHABLE();
|
||||
Ty_UNREACHABLE();
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user