summaryrefslogtreecommitdiffstats
path: root/Include/token.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-31 05:09:57 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-31 05:09:57 (GMT)
commit926f1d673a881644456638d626f8994e4b45c3d9 (patch)
tree2652167c634e2e162b5e02d272b526d729ca572f /Include/token.h
parent33642acef50da173ba70bf360a6fdee0c8a1c68e (diff)
downloadcpython-926f1d673a881644456638d626f8994e4b45c3d9.zip
cpython-926f1d673a881644456638d626f8994e4b45c3d9.tar.gz
cpython-926f1d673a881644456638d626f8994e4b45c3d9.tar.bz2
Added prototype for PyToken_ThreeChars(), to remove compiler warning
in Parser/grammar.c.
Diffstat (limited to 'Include/token.h')
-rw-r--r--Include/token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/token.h b/Include/token.h
index d6bdc85..63d92b4 100644
--- a/Include/token.h
+++ b/Include/token.h
@@ -81,6 +81,7 @@ extern "C" {
extern DL_IMPORT(char *) _PyParser_TokenNames[]; /* Token names */
extern DL_IMPORT(int) PyToken_OneChar(int);
extern DL_IMPORT(int) PyToken_TwoChars(int, int);
+extern DL_IMPORT(int) PyToken_ThreeChars(int, int, int);
#ifdef __cplusplus
}