[Python-checkins] python/dist/src/Python newcompile.c,1.1.2.27,1.1.2.28

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Tue, 25 Mar 2003 08:17:12 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv13002

Modified Files:
      Tag: ast-branch
	newcompile.c 
Log Message:
Remove duplicate augassign.


Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.27
retrieving revision 1.1.2.28
diff -C2 -d -r1.1.2.27 -r1.1.2.28
*** newcompile.c	25 Mar 2003 15:54:45 -0000	1.1.2.27
--- newcompile.c	25 Mar 2003 16:17:04 -0000	1.1.2.28
***************
*** 842,853 ****
  
  static int
- compiler_augassign(struct compiler *c, stmt_ty s)
- {
- 	/* XXX unfinished */
- 	return 0;
- }
- 
- 
- static int
  compiler_visit_stmt(struct compiler *c, stmt_ty s)
  {
--- 842,845 ----
***************
*** 1090,1093 ****
--- 1082,1086 ----
  		case Load: op = LOAD_DEREF; break;
  		case Store: op = STORE_DEREF; break;
+ 		case AugLoad:
  		case AugStore:
  			break;
***************
*** 1102,1105 ****
--- 1095,1099 ----
  		case Store: op = STORE_FAST; break;
  		case Del: op = DELETE_FAST; break;
+ 		case AugLoad:
  		case AugStore:
  			break;
***************
*** 1115,1118 ****
--- 1109,1113 ----
  		case Store: op = STORE_GLOBAL; break;
  		case Del: op = DELETE_GLOBAL; break;
+ 		case AugLoad:
  		case AugStore:
  			break;
***************
*** 1126,1129 ****
--- 1121,1125 ----
  		case Store: op = STORE_NAME; break;
  		case Del: op = DELETE_NAME; break;
+ 		case AugLoad:
  		case AugStore:
  			break;