Reformat on aurora.py

This commit is contained in:
2023-04-04 18:24:09 -04:00
parent 35b619f5bc
commit 30257ddbaa

View File

@@ -47,6 +47,7 @@ class ExpectedCharErr(Error):
def __init__(self, pos_start, pos_end, details):
super().__init__(pos_start, pos_end, 'ExpectedCharacter', details)
class InvalidSyntaxErr(Error):
def __init__(self, pos_start, pos_end, details=''):
super().__init__(pos_start, pos_end, 'InvalidSyntax', details)
@@ -365,6 +366,7 @@ class IfNode:
self.pos_start = self.cases[0][0].pos_start
self.pos_end = (self.else_case or self.cases[len(self.cases) - 1][0]).pos_end
####################
# PARSER RESULT
####################