[Patches] Patch to parsetok.c

Jack Jansen Jack.Jansen@oratrix.com
Fri, 02 Jun 2000 23:14:27 +0200


This is a multi-part message in MIME format.
--------------401C273F894D7ACCFA1A8F08
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Removed the Mac tab-size-guessing code, which has become obsolete as of
tabnanny (and usually didn't work anyway with current editors).
--------------401C273F894D7ACCFA1A8F08
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="522A6368";
 name="parsetok.c.diffs"
Content-Transfer-Encoding: 7bit
Content-Description: Unknown Document
Content-Disposition: inline;
 filename="parsetok.c.diffs"

Index: parsetok.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Parser/parsetok.c,v
retrieving revision 2.16
diff -c -r2.16 parsetok.c
*** parsetok.c	2000/05/03 23:44:37	2.16
--- parsetok.c	2000/06/02 21:08:23
***************
*** 109,121 ****
  			tok->alterror++;
  	}
  
- #ifdef macintosh
- 	{
- 		int tabsize = guesstabsize(filename);
- 		if (tabsize > 0)
- 			tok->tabsize = tabsize;
- 	}
- #endif
  
  	return parsetok(tok, g, start, err_ret);
  }

--------------401C273F894D7ACCFA1A8F08--