summaryrefslogtreecommitdiffstats
path: root/Parser/grammar1.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-29 21:03:06 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-29 21:03:06 (GMT)
commit86bea46b3d16c4ed0453e17f241ddbdfade76c98 (patch)
treee1664ff0e1ed1d40996b44aa9c7ade227fcc2c55 /Parser/grammar1.c
parent2b713b2f675f762ac8ce6cd3a934de34659a2476 (diff)
downloadcpython-86bea46b3d16c4ed0453e17f241ddbdfade76c98.zip
cpython-86bea46b3d16c4ed0453e17f241ddbdfade76c98.tar.gz
cpython-86bea46b3d16c4ed0453e17f241ddbdfade76c98.tar.bz2
Another directory quickly renamed.
Diffstat (limited to 'Parser/grammar1.c')
-rw-r--r--Parser/grammar1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Parser/grammar1.c b/Parser/grammar1.c
index 45d7399..38e4de6 100644
--- a/Parser/grammar1.c
+++ b/Parser/grammar1.c
@@ -39,7 +39,7 @@ PERFORMANCE OF THIS SOFTWARE.
/* Return the DFA for the given type */
dfa *
-finddfa(g, type)
+PyGrammar_FindDFA(g, type)
grammar *g;
register int type;
{
@@ -63,7 +63,7 @@ finddfa(g, type)
}
char *
-labelrepr(lb)
+PyGrammar_LabelRepr(lb)
label *lb;
{
static char buf[100];
@@ -80,10 +80,10 @@ labelrepr(lb)
}
else {
if (lb->lb_str == NULL)
- return tok_name[lb->lb_type];
+ return _PyParser_TokenNames[lb->lb_type];
else {
sprintf(buf, "%.32s(%.32s)",
- tok_name[lb->lb_type], lb->lb_str);
+ _PyParser_TokenNames[lb->lb_type], lb->lb_str);
return buf;
}
}