• Victor Stinner's avatar
    bpo-35177: Add dependencies between header files (GH-10361) · 5f2df88b
    Victor Stinner yazdı
    * ast.h now includes Python-ast.h and node.h
    * parsetok.h now includes node.h and grammar.h
    * symtable.h now includes Python-ast.h
    * Modify asdl_c.py to enhance Python-ast.h:
    
      * Add #ifndef/#define Py_PYTHON_AST_H to be able to include the header
        twice
      * Add "extern { ... }" for C++
      * Undefine "Yield" macro conflicting with winbase.h
    
    * Remove "#undef Yield" from C files, it's now done in Python-ast.h
    * Remove now useless includes in C files
    5f2df88b
Adı
Son kayıt (commit)
Son güncelleme
..
Python.asdl Loading commit data...
acceler.c Loading commit data...
asdl.py Loading commit data...
asdl_c.py Loading commit data...
bitset.c Loading commit data...
firstsets.c Loading commit data...
grammar.c Loading commit data...
grammar1.c Loading commit data...
listnode.c Loading commit data...
metagrammar.c Loading commit data...
myreadline.c Loading commit data...
node.c Loading commit data...
parser.c Loading commit data...
parser.h Loading commit data...
parsetok.c Loading commit data...
parsetok_pgen.c Loading commit data...
pgen.c Loading commit data...
pgenmain.c Loading commit data...
printgrammar.c Loading commit data...
tokenizer.c Loading commit data...
tokenizer.h Loading commit data...
tokenizer_pgen.c Loading commit data...