Update for augmented assignment.

This commit is contained in:
Thomas Wouters 2000-08-24 21:08:39 +00:00
parent 104a7bcc28
commit 34052622c9
2 changed files with 66 additions and 54 deletions

View File

@ -22,57 +22,58 @@ stmt = 264
simple_stmt = 265
small_stmt = 266
expr_stmt = 267
print_stmt = 268
del_stmt = 269
pass_stmt = 270
flow_stmt = 271
break_stmt = 272
continue_stmt = 273
return_stmt = 274
raise_stmt = 275
import_stmt = 276
import_as_name = 277
dotted_as_name = 278
dotted_name = 279
global_stmt = 280
exec_stmt = 281
assert_stmt = 282
compound_stmt = 283
if_stmt = 284
while_stmt = 285
for_stmt = 286
try_stmt = 287
except_clause = 288
suite = 289
test = 290
and_test = 291
not_test = 292
comparison = 293
comp_op = 294
expr = 295
xor_expr = 296
and_expr = 297
shift_expr = 298
arith_expr = 299
term = 300
factor = 301
power = 302
atom = 303
listmaker = 304
lambdef = 305
trailer = 306
subscriptlist = 307
subscript = 308
sliceop = 309
exprlist = 310
testlist = 311
dictmaker = 312
classdef = 313
arglist = 314
argument = 315
list_iter = 316
list_for = 317
list_if = 318
augassign = 268
print_stmt = 269
del_stmt = 270
pass_stmt = 271
flow_stmt = 272
break_stmt = 273
continue_stmt = 274
return_stmt = 275
raise_stmt = 276
import_stmt = 277
import_as_name = 278
dotted_as_name = 279
dotted_name = 280
global_stmt = 281
exec_stmt = 282
assert_stmt = 283
compound_stmt = 284
if_stmt = 285
while_stmt = 286
for_stmt = 287
try_stmt = 288
except_clause = 289
suite = 290
test = 291
and_test = 292
not_test = 293
comparison = 294
comp_op = 295
expr = 296
xor_expr = 297
and_expr = 298
shift_expr = 299
arith_expr = 300
term = 301
factor = 302
power = 303
atom = 304
listmaker = 305
lambdef = 306
trailer = 307
subscriptlist = 308
subscript = 309
sliceop = 310
exprlist = 311
testlist = 312
dictmaker = 313
classdef = 314
arglist = 315
argument = 316
list_iter = 317
list_for = 318
list_if = 319
#--end constants--
sym_name = {}

View File

@ -47,9 +47,20 @@ CIRCUMFLEX = 33
LEFTSHIFT = 34
RIGHTSHIFT = 35
DOUBLESTAR = 36
OP = 37
ERRORTOKEN = 38
N_TOKENS = 39
PLUSEQUAL = 37
MINEQUAL = 38
STAREQUAL = 39
SLASHEQUAL = 40
PERCENTEQUAL = 41
AMPEREQUAL = 42
VBAREQUAL = 43
CIRCUMFLEXEQUAL = 44
LEFTSHIFTEQUAL = 45
RIGHTSHIFTEQUAL = 46
DOUBLESTAREQUAL = 47
OP = 48
ERRORTOKEN = 49
N_TOKENS = 50
NT_OFFSET = 256
#--end constants--