Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 1a2f108

Browse files
committed
text action for the lex function is not optional anymore
1 parent 7debc0f commit 1a2f108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ilanguage/Main/lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def gettoken(string: str, line: int, column: int) -> Optional[LexerToken]:
264264

265265

266266
def lex( # pylint: disable=R0912, R0915, R1260
267-
text: Optional[str] = None,
267+
text: str,
268268
) -> Optional[List[LexerToken]]:
269269
"""Lexes the specified string.
270270

0 commit comments

Comments
 (0)