fixed error in source code interpretation
This commit is contained in:
1
gui.py
1
gui.py
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
from to_nassi import nassi
|
from to_nassi import nassi
|
||||||
|
|
||||||
import PySimpleGUI as sg
|
import PySimpleGUI as sg
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
from Iinstruction import *
|
from Iinstruction import *
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
from typing import Any, Iterator
|
from typing import Any, List
|
||||||
|
|
||||||
class Scope():
|
class Scope():
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ class Scope():
|
|||||||
def add_subscope(self, subscope) -> None:
|
def add_subscope(self, subscope) -> None:
|
||||||
self.contents.append(subscope)
|
self.contents.append(subscope)
|
||||||
|
|
||||||
def load_src(filepath: str) -> list[str]:
|
def load_src(filepath: str) -> List[str]:
|
||||||
lines = []
|
lines = []
|
||||||
try:
|
try:
|
||||||
with open(filepath) as file:
|
with open(filepath) as file:
|
||||||
|
|||||||
Reference in New Issue
Block a user