small improovements

This commit is contained in:
Evgenii Alekseev 2024-09-20 23:02:38 +03:00
parent ede9653588
commit b3208ce263

View File

@ -229,7 +229,7 @@ class PkgbuildParser(shlex.shlex):
# find start and end positions # find start and end positions
start_position = end_position = -1 start_position = end_position = -1
counter = 0 # simple processing of the inner "{" and "}" counter = 0 # simple processing of the inner "{" and "}"
while token := self.get_token(): for token in self:
match token: match token:
case _ if self._is_quoted(): case _ if self._is_quoted():
continue continue