mirror of
https://github.com/Zandercraft/Aurora-lang.git
synced 2026-10-29 04:39:21 +00:00
Reformat on aurora.py
This commit is contained in:
@@ -47,6 +47,7 @@ class ExpectedCharErr(Error):
|
|||||||
def __init__(self, pos_start, pos_end, details):
|
def __init__(self, pos_start, pos_end, details):
|
||||||
super().__init__(pos_start, pos_end, 'ExpectedCharacter', details)
|
super().__init__(pos_start, pos_end, 'ExpectedCharacter', details)
|
||||||
|
|
||||||
|
|
||||||
class InvalidSyntaxErr(Error):
|
class InvalidSyntaxErr(Error):
|
||||||
def __init__(self, pos_start, pos_end, details=''):
|
def __init__(self, pos_start, pos_end, details=''):
|
||||||
super().__init__(pos_start, pos_end, 'InvalidSyntax', 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_start = self.cases[0][0].pos_start
|
||||||
self.pos_end = (self.else_case or self.cases[len(self.cases) - 1][0]).pos_end
|
self.pos_end = (self.else_case or self.cases[len(self.cases) - 1][0]).pos_end
|
||||||
|
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# PARSER RESULT
|
# PARSER RESULT
|
||||||
####################
|
####################
|
||||||
|
|||||||
Reference in New Issue
Block a user