diff Parser/tokenizer.c @ 40529:54cd47788811

PEP 3107 - Function Annotations thanks to Tony Lownds
author Neal Norwitz <nnorwitz@gmail.com>
date Thu, 28 Dec 2006 06:47:50 +0000
parents cc992d75d5b3
children 1c26505c1de6
line wrap: on
line diff
--- a/Parser/tokenizer.c	Thu Dec 28 04:47:50 2006 +0000
+++ b/Parser/tokenizer.c	Thu Dec 28 06:47:50 2006 +0000
@@ -92,6 +92,7 @@
 	"DOUBLESLASH",
 	"DOUBLESLASHEQUAL",
 	"AT",
+	"RARROW",
 	/* This table must match the #defines in token.h! */
 	"OP",
 	"<ERRORTOKEN>",
@@ -998,6 +999,7 @@
 	case '-':
 		switch (c2) {
 		case '=':	return MINEQUAL;
+		case '>':	return RARROW;
 		}
 		break;
 	case '*':