diff --git a/tivars/types/tokenized.py b/tivars/types/tokenized.py index 38c5281..019405b 100644 --- a/tivars/types/tokenized.py +++ b/tivars/types/tokenized.py @@ -340,7 +340,7 @@ def name(self, value) -> str: varname = re.sub(r"[^θa-zA-Z0-9]", "", varname) if not varname or varname[0].isnumeric(): - warn(f"Program has invalid an name: {varname}.", + warn(f"Program has an invalid name: {varname}.", BytesWarning) return varname