From 457394216106cd342f5cf65ca2cea59df65fb297 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 28 Feb 2007 00:40:24 +0000 Subject: Regenerate symbol.py. This fixes test_compiler, test_transformer, and test_parser. --- Lib/symbol.py | 101 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 51 insertions(+), 50 deletions(-) diff --git a/Lib/symbol.py b/Lib/symbol.py index 86aa2d0..4ceaf2d 100755 --- a/Lib/symbol.py +++ b/Lib/symbol.py @@ -47,56 +47,57 @@ import_as_names = 289 dotted_as_names = 290 dotted_name = 291 global_stmt = 292 -assert_stmt = 293 -compound_stmt = 294 -if_stmt = 295 -while_stmt = 296 -for_stmt = 297 -try_stmt = 298 -with_stmt = 299 -with_var = 300 -except_clause = 301 -suite = 302 -testlist_safe = 303 -old_test = 304 -old_lambdef = 305 -test = 306 -or_test = 307 -and_test = 308 -not_test = 309 -comparison = 310 -comp_op = 311 -expr = 312 -xor_expr = 313 -and_expr = 314 -shift_expr = 315 -arith_expr = 316 -term = 317 -factor = 318 -power = 319 -atom = 320 -listmaker = 321 -testlist_gexp = 322 -lambdef = 323 -trailer = 324 -subscriptlist = 325 -subscript = 326 -sliceop = 327 -exprlist = 328 -testlist = 329 -dictsetmaker = 330 -classdef = 331 -arglist = 332 -argument = 333 -list_iter = 334 -list_for = 335 -list_if = 336 -gen_iter = 337 -gen_for = 338 -gen_if = 339 -testlist1 = 340 -encoding_decl = 341 -yield_expr = 342 +nonlocal_stmt = 293 +assert_stmt = 294 +compound_stmt = 295 +if_stmt = 296 +while_stmt = 297 +for_stmt = 298 +try_stmt = 299 +with_stmt = 300 +with_var = 301 +except_clause = 302 +suite = 303 +testlist_safe = 304 +old_test = 305 +old_lambdef = 306 +test = 307 +or_test = 308 +and_test = 309 +not_test = 310 +comparison = 311 +comp_op = 312 +expr = 313 +xor_expr = 314 +and_expr = 315 +shift_expr = 316 +arith_expr = 317 +term = 318 +factor = 319 +power = 320 +atom = 321 +listmaker = 322 +testlist_gexp = 323 +lambdef = 324 +trailer = 325 +subscriptlist = 326 +subscript = 327 +sliceop = 328 +exprlist = 329 +testlist = 330 +dictsetmaker = 331 +classdef = 332 +arglist = 333 +argument = 334 +list_iter = 335 +list_for = 336 +list_if = 337 +gen_iter = 338 +gen_for = 339 +gen_if = 340 +testlist1 = 341 +encoding_decl = 342 +yield_expr = 343 #--end constants-- sym_name = {} -- cgit v0.12