diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-31 10:07:13 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-31 10:07:13 (GMT) |
commit | 1a4ddaecc732c207fa69890db87ac4b47da867b8 (patch) | |
tree | 3c0c9c3086bc1c5ac72554e8ce6a03773cdc8770 /Include | |
parent | 876032e5700f58cec44a357b6d3174be76b40278 (diff) | |
download | cpython-1a4ddaecc732c207fa69890db87ac4b47da867b8.zip cpython-1a4ddaecc732c207fa69890db87ac4b47da867b8.tar.gz cpython-1a4ddaecc732c207fa69890db87ac4b47da867b8.tar.bz2 |
SF patch #1007189, multi-line imports, for instance:
"from blah import (foo, bar
baz, bongo)"
Diffstat (limited to 'Include')
-rw-r--r-- | Include/graminit.h | 102 |
1 files changed, 53 insertions, 49 deletions
diff --git a/Include/graminit.h b/Include/graminit.h index ac351be..a46cdc9 100644 --- a/Include/graminit.h +++ b/Include/graminit.h @@ -23,52 +23,56 @@ #define yield_stmt 278 #define raise_stmt 279 #define import_stmt 280 -#define import_as_name 281 -#define dotted_as_name 282 -#define dotted_name 283 -#define global_stmt 284 -#define exec_stmt 285 -#define assert_stmt 286 -#define compound_stmt 287 -#define if_stmt 288 -#define while_stmt 289 -#define for_stmt 290 -#define try_stmt 291 -#define except_clause 292 -#define suite 293 -#define test 294 -#define and_test 295 -#define not_test 296 -#define comparison 297 -#define comp_op 298 -#define expr 299 -#define xor_expr 300 -#define and_expr 301 -#define shift_expr 302 -#define arith_expr 303 -#define term 304 -#define factor 305 -#define power 306 -#define atom 307 -#define listmaker 308 -#define testlist_gexp 309 -#define lambdef 310 -#define trailer 311 -#define subscriptlist 312 -#define subscript 313 -#define sliceop 314 -#define exprlist 315 -#define testlist 316 -#define testlist_safe 317 -#define dictmaker 318 -#define classdef 319 -#define arglist 320 -#define argument 321 -#define list_iter 322 -#define list_for 323 -#define list_if 324 -#define gen_iter 325 -#define gen_for 326 -#define gen_if 327 -#define testlist1 328 -#define encoding_decl 329 +#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 except_clause 296 +#define suite 297 +#define test 298 +#define and_test 299 +#define not_test 300 +#define comparison 301 +#define comp_op 302 +#define expr 303 +#define xor_expr 304 +#define and_expr 305 +#define shift_expr 306 +#define arith_expr 307 +#define term 308 +#define factor 309 +#define power 310 +#define atom 311 +#define listmaker 312 +#define testlist_gexp 313 +#define lambdef 314 +#define trailer 315 +#define subscriptlist 316 +#define subscript 317 +#define sliceop 318 +#define exprlist 319 +#define testlist 320 +#define testlist_safe 321 +#define dictmaker 322 +#define classdef 323 +#define arglist 324 +#define argument 325 +#define list_iter 326 +#define list_for 327 +#define list_if 328 +#define gen_iter 329 +#define gen_for 330 +#define gen_if 331 +#define testlist1 332 +#define encoding_decl 333 |