Skip to content

Commit

Permalink
fix: Add self to class in GreenBerryPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdur-rahmaanJ committed Apr 25, 2024
1 parent 86163ed commit 00ff76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/greenberry/utils/print.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def print_handling(g_vars, i, words):
except:
print(E.PRINT)

def printLE():
def printLE(self):
"""Print lexer error"""
LEX_ERROR = "lex error: no EOF should used in the middle of file"
print(LEX_ERROR)

0 comments on commit 00ff76d

Please sign in to comment.