diff options
Diffstat (limited to 'Parser/parser.c')
-rw-r--r-- | Parser/parser.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Parser/parser.c b/Parser/parser.c index fb1a051..ee40f21 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -33,7 +33,7 @@ extern int Py_DebugFlag; /* STACK DATA TYPE */ -static void s_reset Py_PROTO((stack *)); +static void s_reset(stack *); static void s_reset(s) @@ -44,7 +44,7 @@ s_reset(s) #define s_empty(s) ((s)->s_top == &(s)->s_base[MAXSTACK]) -static int s_push Py_PROTO((stack *, dfa *, node *)); +static int s_push(stack *, dfa *, node *); static int s_push(s, d, parent) @@ -66,7 +66,7 @@ s_push(s, d, parent) #ifdef Py_DEBUG -static void s_pop Py_PROTO((stack *)); +static void s_pop(stack *); static void s_pop(s) @@ -122,7 +122,7 @@ PyParser_Delete(ps) /* PARSER STACK OPERATIONS */ -static int shift Py_PROTO((stack *, int, char *, int, int)); +static int shift(stack *, int, char *, int, int); static int shift(s, type, str, newstate, lineno) @@ -141,7 +141,7 @@ shift(s, type, str, newstate, lineno) return 0; } -static int push Py_PROTO((stack *, int, dfa *, int, int)); +static int push(stack *, int, dfa *, int, int); static int push(s, type, d, newstate, lineno) @@ -165,7 +165,7 @@ push(s, type, d, newstate, lineno) /* PARSER PROPER */ -static int classify Py_PROTO((grammar *, int, char *)); +static int classify(grammar *, int, char *); static int classify(g, type, str) |