diff Python/ast.c @ 74458:169fbbac2dec

move LINENO define to where it actually belongs
author Benjamin Peterson <benjamin@python.org>
date Mon, 16 Jan 2012 17:29:05 -0500
parents 0677f05d6ece
children 8241fc821e2b
line wrap: on
line diff
--- a/Python/ast.c	Mon Jan 16 17:22:31 2012 -0500
+++ b/Python/ast.c	Mon Jan 16 17:29:05 2012 -0500
@@ -521,10 +521,6 @@
 static PyObject *parsestrplus(struct compiling *, const node *n,
                               int *bytesmode);
 
-#ifndef LINENO
-#define LINENO(n)       ((n)->n_lineno)
-#endif
-
 #define COMP_GENEXP   0
 #define COMP_LISTCOMP 1
 #define COMP_SETCOMP  2