aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-07-27 21:52:59 +0200
committerGitHub <noreply@github.com>2020-07-27 12:52:59 -0700
commitb3fbff7289176ba1a322e6899c3d4a04880ed5a7 (patch)
treefac7576215acdec78602999907be2119fd3ed06e /Tools
parentbpo-40939: Use the new grammar for the grammar specification documentation (G... (diff)
downloadcpython-b3fbff7289176ba1a322e6899c3d4a04880ed5a7.tar.gz
cpython-b3fbff7289176ba1a322e6899c3d4a04880ed5a7.tar.bz2
cpython-b3fbff7289176ba1a322e6899c3d4a04880ed5a7.zip
bpo-40939: Remove even more references to the old parser (GH-21642)
Automerge-Triggered-By: @lysnikolaou
Diffstat (limited to 'Tools')
-rw-r--r--Tools/c-analyzer/TODO2
-rw-r--r--Tools/c-analyzer/cpython/_generate.py3
-rw-r--r--Tools/c-analyzer/known.tsv2
3 files changed, 0 insertions, 7 deletions
diff --git a/Tools/c-analyzer/TODO b/Tools/c-analyzer/TODO
index 829daba2914..1134055f9a8 100644
--- a/Tools/c-analyzer/TODO
+++ b/Tools/c-analyzer/TODO
@@ -64,8 +64,6 @@ Objects/object.c:_Py_RefTotal Py_ssize_t _Py_
Objects/tupleobject.c:_Py_fast_tuple_allocs Py_ssize_t _Py_fast_tuple_allocs
Objects/tupleobject.c:_Py_tuple_zero_allocs Py_ssize_t _Py_tuple_zero_allocs
Objects/typeobject.c:next_version_tag static unsigned int next_version_tag
-Parser/listnode.c:atbol static int atbol
-Parser/listnode.c:level static int level
Python/Python-ast.c:init_types():initialized static int initialized
Python/bootstrap_hash.c:urandom_cache static struct { int fd; dev_t st_dev; ino_t st_ino; } urandom_cache
Python/ceval.c:_Py_CheckRecursionLimit int _Py_CheckRecursionLimit
diff --git a/Tools/c-analyzer/cpython/_generate.py b/Tools/c-analyzer/cpython/_generate.py
index 4c340acf99e..3456604b814 100644
--- a/Tools/c-analyzer/cpython/_generate.py
+++ b/Tools/c-analyzer/cpython/_generate.py
@@ -183,9 +183,6 @@ MULTILINE = {
'float_format': 'static float_format_type ',
'detected_double_format': 'static float_format_type ',
'detected_float_format': 'static float_format_type ',
- # Parser/listnode.c
- 'level': 'static int ',
- 'atbol': 'static int ',
# Python/dtoa.c
'private_mem': 'static double private_mem[PRIVATE_mem]',
'pmem_next': 'static double *',
diff --git a/Tools/c-analyzer/known.tsv b/Tools/c-analyzer/known.tsv
index db44080bc2e..f92b45e5b4d 100644
--- a/Tools/c-analyzer/known.tsv
+++ b/Tools/c-analyzer/known.tsv
@@ -51,7 +51,6 @@ Objects/genobject.c - async_gen_memberlist variable static PyMemberDef async_gen
Objects/genobject.c - async_gen_methods variable static PyMethodDef async_gen_methods
Python/Python-ast.c - AsyncWith_fields variable static const char *AsyncWith_fields[]
Python/Python-ast.c - AsyncWith_type variable static PyTypeObject *AsyncWith_type
-Parser/listnode.c - atbol variable static int atbol
Modules/atexitmodule.c - atexit_methods variable static PyMethodDef atexit_methods
Modules/atexitmodule.c - atexitmodule variable static struct PyModuleDef atexitmodule
Modules/atexitmodule.c - atexit_slots variable static PyModuleDef_Slot atexit_slots[]
@@ -429,7 +428,6 @@ Modules/_json.c encoder_call kwlist variable static const char *kwlist[]
Python/symtable.c - lambda variable static identifier lambda
Python/Python-ast.c - Lambda_fields variable static const char *Lambda_fields[]
Python/Python-ast.c - Lambda_type variable static PyTypeObject *Lambda_type
-Parser/listnode.c - level variable static int level
Objects/listobject.c - list_as_mapping variable static PyMappingMethods list_as_mapping
Objects/listobject.c - list_as_sequence variable static PySequenceMethods list_as_sequence
Python/symtable.c - listcomp variable static identifier listcomp