Skip to content

Commit 9280471

Browse files
committed
Fix message in exception
1 parent 16da829 commit 9280471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/zx48k/optimizer/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class DuplicatedLabelError(Error):
88
This should never happen.
99
"""
1010
def __init__(self, label):
11-
Error.__init__(self, "Invalid mnemonic '{}'".format(label))
11+
Error.__init__(self, "Duplicated label '{}'".format(label))
1212
self.label = label
1313

1414

0 commit comments

Comments
 (0)