Mailing List Archive

python/dist/src/Lib symbol.py,1.14,1.15 token.py,1.12,1.13
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv28019

Modified Files:
symbol.py token.py
Log Message:
Updates to track Grammar changes. The patch to token.py loosens the regexp to
allow "testlist1" to be snagged.



Index: symbol.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/symbol.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** symbol.py 17 Oct 2001 13:13:04 -0000 1.14
--- symbol.py 3 Oct 2002 09:42:01 -0000 1.15
***************
*** 77,80 ****
--- 77,82 ----
list_for = 320
list_if = 321
+ testlist1 = 322
+ encoding_decl = 323
#--end constants--


Index: token.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/token.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** token.py 13 Aug 2001 15:48:06 -0000 1.12
--- token.py 3 Oct 2002 09:42:01 -0000 1.13
***************
*** 99,103 ****
fp.close()
prog = re.compile(
! "#define[ \t][ \t]*([A-Z][A-Z_]*)[ \t][ \t]*([0-9][0-9]*)",
re.IGNORECASE)
tokens = {}
--- 99,103 ----
fp.close()
prog = re.compile(
! "#define[ \t][ \t]*([A-Z0-9][A-Z0-9_]*)[ \t][ \t]*([0-9][0-9]*)",
re.IGNORECASE)
tokens = {}