Remove dead code that was needed for the old parser (#34792)
The old to token definitions and spec_id_re regular expression are not used anymore
This commit is contained in:
parent
a869cfd95d
commit
310b6b9466
@ -4939,13 +4939,6 @@ def __missing__(self, key):
|
|||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
#: These are possible token types in the spec grammar.
|
|
||||||
HASH, DEP, VER, COLON, COMMA, ON, D_ON, OFF, D_OFF, PCT, EQ, D_EQ, ID, VAL, FILE = range(15)
|
|
||||||
|
|
||||||
#: Regex for fully qualified spec names. (e.g., builtin.hdf5)
|
|
||||||
spec_id_re = r"\w[\w.-]*"
|
|
||||||
|
|
||||||
|
|
||||||
def save_dependency_specfiles(
|
def save_dependency_specfiles(
|
||||||
root_spec_info, output_directory, dependencies=None, spec_format="json"
|
root_spec_info, output_directory, dependencies=None, spec_format="json"
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user