mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Mass ANSIfication.
Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to 'Py_AddPendingCall' by providing a (static) wrapper function that has the right number of arguments.
This commit is contained in:
parent
f70ef4f860
commit
23c9e0024a
16 changed files with 123 additions and 330 deletions
|
@ -20,8 +20,7 @@ extern int Py_DebugFlag;
|
|||
static void calcfirstset(grammar *, dfa *);
|
||||
|
||||
void
|
||||
addfirstsets(g)
|
||||
grammar *g;
|
||||
addfirstsets(grammar *g)
|
||||
{
|
||||
int i;
|
||||
dfa *d;
|
||||
|
@ -35,9 +34,7 @@ addfirstsets(g)
|
|||
}
|
||||
|
||||
static void
|
||||
calcfirstset(g, d)
|
||||
grammar *g;
|
||||
dfa *d;
|
||||
calcfirstset(grammar *g, dfa *d)
|
||||
{
|
||||
int i, j;
|
||||
state *s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue