Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update low_level_tokenizer.py
avoid an assert error when pdf stream '(' doesn't match its ')'
  • Loading branch information
benjerming authored Feb 14, 2025
commit 2b9494cd73322bb6b82ed6fa09f57d624024e71c
2 changes: 1 addition & 1 deletion borb/io/read/tokenize/low_level_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def next_token(self) -> typing.Optional[Token]:
while True:
ch = self._next_byte()
if len(ch) == 0:
break
return None
# escape char
if ch == b"\\":
ch = self._next_byte()
Expand Down