Skip to content

Commit 7f22c9b

Browse files
committed
Fix FutureWarning regexp
1 parent 74a5d35 commit 7f22c9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zxbasm/asmlex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def t_ADDR(self, t):
325325
return t
326326

327327
def t_LP(self, t):
328-
r'[[(]'
328+
r'[\[(]'
329329
if t.value != '[' and OPTIONS.bracket.value:
330330
t.type = 'LPP'
331331
return t

0 commit comments

Comments
 (0)