From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 9 Apr 2025 18:44:49 +0000 (+0200) Subject: [3.13] gh-130587: Invoke regen-token rst with rstfile as an argument (GH-132304)... X-Git-Tag: v3.13.4~308 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70f04ea40471070287d870747d2a452ee52313ce;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-130587: Invoke regen-token rst with rstfile as an argument (GH-132304) (#132327) Co-authored-by: Karolina Surma <33810531+befeleme@users.noreply.github.com> --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 3bd4495f95b7..d7a4e4b320a7 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1784,7 +1784,8 @@ regen-token: # using Tools/build/generate_token.py $(PYTHON_FOR_REGEN) $(srcdir)/Tools/build/generate_token.py rst \ $(srcdir)/Grammar/Tokens \ - $(srcdir)/Doc/library/token-list.inc + $(srcdir)/Doc/library/token-list.inc \ + $(srcdir)/Doc/library/token.rst # Regenerate Include/internal/pycore_token.h from Grammar/Tokens # using Tools/build/generate_token.py $(PYTHON_FOR_REGEN) $(srcdir)/Tools/build/generate_token.py h \