aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-11-08 09:07:39 -0600
committerIván Ávalos <avalos@disroot.org>2022-11-08 09:07:39 -0600
commit2bd1a00abc55cff109f7baec2505a8d8d2e7d279 (patch)
treedcc440ed99869eb8501cff3301c4c2255b727f3d /main.py
parent54bc4ac44e300c24fa828ffda926bd4161bf912a (diff)
downloadjavanol-2bd1a00abc55cff109f7baec2505a8d8d2e7d279.tar.gz
javanol-2bd1a00abc55cff109f7baec2505a8d8d2e7d279.tar.bz2
javanol-2bd1a00abc55cff109f7baec2505a8d8d2e7d279.zip
Se estructura lexer en clase, y arreglo en identificadores
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 1da41cc..119336a 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')
- inicio_lexer(data)
+ Lexer().inicio_lexer(data)
def ejecutar_programa(self):
print('ejecutar_programa()')