mirror of
https://github.com/python/cpython.git
synced 2024-12-13 20:05:53 +08:00
c2e20744b2
This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global).
85 lines
1.8 KiB
C
85 lines
1.8 KiB
C
#define single_input 256
|
|
#define file_input 257
|
|
#define eval_input 258
|
|
#define decorator 259
|
|
#define decorators 260
|
|
#define funcdef 261
|
|
#define parameters 262
|
|
#define varargslist 263
|
|
#define fpdef 264
|
|
#define fplist 265
|
|
#define stmt 266
|
|
#define simple_stmt 267
|
|
#define small_stmt 268
|
|
#define expr_stmt 269
|
|
#define augassign 270
|
|
#define print_stmt 271
|
|
#define del_stmt 272
|
|
#define pass_stmt 273
|
|
#define flow_stmt 274
|
|
#define break_stmt 275
|
|
#define continue_stmt 276
|
|
#define return_stmt 277
|
|
#define yield_stmt 278
|
|
#define raise_stmt 279
|
|
#define import_stmt 280
|
|
#define import_name 281
|
|
#define import_from 282
|
|
#define import_as_name 283
|
|
#define dotted_as_name 284
|
|
#define import_as_names 285
|
|
#define dotted_as_names 286
|
|
#define dotted_name 287
|
|
#define global_stmt 288
|
|
#define exec_stmt 289
|
|
#define assert_stmt 290
|
|
#define compound_stmt 291
|
|
#define if_stmt 292
|
|
#define while_stmt 293
|
|
#define for_stmt 294
|
|
#define try_stmt 295
|
|
#define with_stmt 296
|
|
#define with_var 297
|
|
#define except_clause 298
|
|
#define suite 299
|
|
#define testlist_safe 300
|
|
#define old_test 301
|
|
#define old_lambdef 302
|
|
#define test 303
|
|
#define or_test 304
|
|
#define and_test 305
|
|
#define not_test 306
|
|
#define comparison 307
|
|
#define comp_op 308
|
|
#define expr 309
|
|
#define xor_expr 310
|
|
#define and_expr 311
|
|
#define shift_expr 312
|
|
#define arith_expr 313
|
|
#define term 314
|
|
#define factor 315
|
|
#define power 316
|
|
#define atom 317
|
|
#define listmaker 318
|
|
#define testlist_gexp 319
|
|
#define lambdef 320
|
|
#define trailer 321
|
|
#define subscriptlist 322
|
|
#define subscript 323
|
|
#define sliceop 324
|
|
#define exprlist 325
|
|
#define testlist 326
|
|
#define dictmaker 327
|
|
#define classdef 328
|
|
#define arglist 329
|
|
#define argument 330
|
|
#define list_iter 331
|
|
#define list_for 332
|
|
#define list_if 333
|
|
#define gen_iter 334
|
|
#define gen_for 335
|
|
#define gen_if 336
|
|
#define testlist1 337
|
|
#define encoding_decl 338
|
|
#define yield_expr 339
|