bpo-45866: pegen strips directory of "generated from" header (GH-29777) (GH-29792)

"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 253b7a0a9f)
This commit is contained in:
Victor Stinner 2021-11-26 16:38:50 +01:00 committed by GitHub
parent 3f024e27c2
commit b6defde2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 4 deletions

View file

@ -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)