summaryrefslogtreecommitdiffstats
path: root/Parser/grammar.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-10 22:09:39 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-10 22:09:39 (GMT)
commitbb3649e2ba386adc16fadc2e0d1f2606c047e6aa (patch)
treebb7c6cd55bbc107f3963ff8438a04b9845f2d52a /Parser/grammar.c
parent39b0f8976caeb81e475454424f2a8d6e39609f52 (diff)
downloadcpython-bb3649e2ba386adc16fadc2e0d1f2606c047e6aa.zip
cpython-bb3649e2ba386adc16fadc2e0d1f2606c047e6aa.tar.gz
cpython-bb3649e2ba386adc16fadc2e0d1f2606c047e6aa.tar.bz2
Make new gcc -Wall happy
Diffstat (limited to 'Parser/grammar.c')
-rw-r--r--Parser/grammar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/grammar.c b/Parser/grammar.c
index 07e3f62..51423d4 100644
--- a/Parser/grammar.c
+++ b/Parser/grammar.c
@@ -217,7 +217,7 @@ translabel(g, lb)
}
if (lb->lb_type == STRING) {
- if (isalpha(lb->lb_str[1]) || lb->lb_str[1] == '_') {
+ if (isalpha((int)(lb->lb_str[1])) || lb->lb_str[1] == '_') {
char *p;
if (Py_DebugFlag)
printf("Label %s is a keyword\n", lb->lb_str);