[Python-checkins] python/dist/src/Include errcode.h,2.15,2.16

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Wed, 14 Aug 2002 18:20:18 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv15875/Include

Modified Files:
	errcode.h 
Log Message:
provide less mysterious error messages when seeing end-of-line in
single-quoted strings or end-of-file in triple-quoted strings.
closes patch 586561.


Index: errcode.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/errcode.h,v
retrieving revision 2.15
retrieving revision 2.16
diff -C2 -d -r2.15 -r2.16
*** errcode.h	4 Aug 2002 17:29:52 -0000	2.15
--- errcode.h	15 Aug 2002 01:20:16 -0000	2.16
***************
*** 27,30 ****
--- 27,32 ----
  #define E_DEDENT	21	/* No matching outer block for dedent */
  #define E_DECODE	22	/* Error in decoding into Unicode */
+ #define E_EOFS		23	/* EOF in triple-quoted string */
+ #define E_EOLS		24	/* EOL in single-quoted string */
  
  #ifdef __cplusplus