diff Python/symtable.c @ 39783:7a0ad110e91e

Patch #1550786: ellipsis literal.
author Georg Brandl <georg@python.org>
date Wed, 06 Sep 2006 07:06:08 +0000
parents c94f37054f19
children 1cce0526d9b0
line wrap: on
line diff
--- a/Python/symtable.c	Wed Sep 06 06:51:57 2006 +0000
+++ b/Python/symtable.c	Wed Sep 06 07:06:08 2006 +0000
@@ -1161,6 +1161,7 @@
 		break;
         case Num_kind:
         case Str_kind:
+	case Ellipsis_kind:
 		/* Nothing to do here. */
 		break;
 	/* The following exprs can be assignment targets. */
@@ -1365,8 +1366,6 @@
 	case Index_kind:
 		VISIT(st, expr, s->v.Index.value)
 		break;
-	case Ellipsis_kind:
-		break;
 	}
 	return 1;
 }