From 0db62aaf0987db16fc36d3331786168a70ccda8b Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 12 Feb 2007 03:51:02 +0000 Subject: Modify Parser/asdl_c.py so that the __version__ number for Python/Python-ast.c is specified at the top of the file. Also add a note that Python/Python-ast.c needs to be committed separately after a change to the AST grammar to capture the revision number of the change (which is what __version__ is set to). --- Python/Python-ast.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Python/Python-ast.c') diff --git a/Python/Python-ast.c b/Python/Python-ast.c index a02303d53e..46a1817dd7 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -1,4 +1,13 @@ -/* File automatically generated by Parser/asdl_c.py */ +/* File automatically generated by Parser/asdl_c.py. */ + + +/* + __version__ 53731. + + This module must be committed separately after each AST grammar change; + The __version__ number is set to the revision number of the commit + containing the grammar change. +*/ #include "Python.h" #include "Python-ast.h" -- cgit v1.2.1