diff options
author | Thomas Wouters <thomas@python.org> | 2000-08-24 20:09:45 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-08-24 20:09:45 (GMT) |
commit | dd8dbdb7172fbafb5ffab8600e620103fc19879e (patch) | |
tree | d0706f5e94cb061057f85138e8637885c9f4cb57 /Include/token.h | |
parent | e289e0bd0c3db9755bb2ddd49b08091049bc301d (diff) | |
download | cpython-dd8dbdb7172fbafb5ffab8600e620103fc19879e.zip cpython-dd8dbdb7172fbafb5ffab8600e620103fc19879e.tar.gz cpython-dd8dbdb7172fbafb5ffab8600e620103fc19879e.tar.bz2 |
The real suport for augmented assignment: new opcodes, new PyNumber and
PySequence methods and functions, new tokens.
Diffstat (limited to 'Include/token.h')
-rw-r--r-- | Include/token.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Include/token.h b/Include/token.h index 88ef3fc..d6bdc85 100644 --- a/Include/token.h +++ b/Include/token.h @@ -53,10 +53,21 @@ extern "C" { #define LEFTSHIFT 34 #define RIGHTSHIFT 35 #define DOUBLESTAR 36 +#define PLUSEQUAL 37 +#define MINEQUAL 38 +#define STAREQUAL 39 +#define SLASHEQUAL 40 +#define PERCENTEQUAL 41 +#define AMPEREQUAL 42 +#define VBAREQUAL 43 +#define CIRCUMFLEXEQUAL 44 +#define LEFTSHIFTEQUAL 45 +#define RIGHTSHIFTEQUAL 46 +#define DOUBLESTAREQUAL 47 /* Don't forget to update the table _PyParser_TokenNames in tokenizer.c! */ -#define OP 37 -#define ERRORTOKEN 38 -#define N_TOKENS 39 +#define OP 48 +#define ERRORTOKEN 49 +#define N_TOKENS 50 /* Special definitions for cooperation with parser */ |