add updates libs

This commit is contained in:
Christoph Brandau
2026-06-18 17:21:58 +02:00
parent 91ce762570
commit 41f331d4c4
150 changed files with 8249 additions and 2550 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
import ply.lex as lex
from typing import Tuple
TOK_BACKSLASH_NEWLINE = "BACKSLASH_NEWLINE"
TOK_BACKSLASH_SUB = "BACKSLASH_SUB"
@@ -28,7 +27,7 @@ STATE_BRACEDWORD = "bracedword"
class TclSyntaxError(Exception):
def __init__(self, message, start: Tuple[int, int], end: Tuple[int, int]):
def __init__(self, message, start: tuple[int, int], end: tuple[int, int]):
super().__init__(message)
self.start = start
self.end = end
@@ -239,5 +238,5 @@ class Lexer:
self.next()
def assert_(self, *tokens):
assert self.current.type in tokens
assert self.type() in tokens
self.next()