summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-11-26 16:23:41 (GMT)
committerGitHub <noreply@github.com>2021-11-26 16:23:41 (GMT)
commit93a540d74c654819ad04d72fcdcf827d0e259999 (patch)
treeb63a120a0823f5d810aa7362c5c1ad6ec9e220d1 /Parser
parent92631a4144fba041a5fb6578620db784821dfdc5 (diff)
downloadcpython-93a540d74c654819ad04d72fcdcf827d0e259999.zip
cpython-93a540d74c654819ad04d72fcdcf827d0e259999.tar.gz
cpython-93a540d74c654819ad04d72fcdcf827d0e259999.tar.bz2
bpo-45866: pegen strips directory of "generated from" header (GH-29777) (GH-29792) (GH-29797)
"make regen-all" now produces the same output when run from a directory other than the source tree: when building Python out of the source tree. (cherry picked from commit 253b7a0a9fef1d72a4cb87b837885576e68e917c) (cherry picked from commit b6defde2afe656db830d6fedf74ca5f6225f5928)
Diffstat (limited to 'Parser')
-rw-r--r--Parser/pegen/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen/parse.c b/Parser/pegen/parse.c
index 611257d..b80e27f 100644
--- a/Parser/pegen/parse.c
+++ b/Parser/pegen/parse.c
@@ -1,4 +1,4 @@
-// @generated by pegen.py from ./Grammar/python.gram
+// @generated by pegen.py from python.gram
#include "pegen.h"
#if defined(Py_DEBUG) && defined(Py_BUILD_CORE)