summaryrefslogtreecommitdiffstats
path: root/Parser/firstsets.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 19:20:54 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 19:20:54 (GMT)
commit23c9e0024af99379ae517b016b874d57127e9a97 (patch)
tree8b9550548b9af667e20b8aaaae03ac54d38d6f70 /Parser/firstsets.c
parentf70ef4f8606f99744252a804229d53a4d97601c1 (diff)
downloadcpython-23c9e0024af99379ae517b016b874d57127e9a97.zip
cpython-23c9e0024af99379ae517b016b874d57127e9a97.tar.gz
cpython-23c9e0024af99379ae517b016b874d57127e9a97.tar.bz2
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.
Diffstat (limited to 'Parser/firstsets.c')
-rw-r--r--Parser/firstsets.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Parser/firstsets.c b/Parser/firstsets.c
index b27ed2e..295f67d 100644
--- a/Parser/firstsets.c
+++ b/Parser/firstsets.c
@@ -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;