aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 119336a..c541b16 100644
--- a/main.py
+++ b/main.py
@@ -27,7 +27,7 @@ class Main:
def compilar_programa(self):
self.output_file = filedialog.asksaveasfilename()
data = self.text.get('1.0', 'end-1c')
- Lexer().inicio_lexer(data)
+ Lexer(data).inicio()
def ejecutar_programa(self):
print('ejecutar_programa()')