Browse Source

fixando importações

Nicolas T 3 years ago
parent
commit
e1d7177133
4 changed files with 3 additions and 1 deletions
  1. 1
    0
      beuty.py
  2. 1
    0
      main.py
  3. 0
    1
      selection.py
  4. 1
    0
      semantico.py

+ 1
- 0
beuty.py View File

@@ -1,6 +1,7 @@
1 1
 from bs4 import BeautifulSoup
2 2
 import os
3 3
 import pickle
4
+
4 5
 def beut(tabela1, tabela2):
5 6
     with open('tabela.html', 'r') as file:
6 7
         soup = BeautifulSoup(file, "html5lib")

+ 1
- 0
main.py View File

@@ -1,6 +1,7 @@
1 1
 import sys
2 2
 import argparse
3 3
 from selection import opction
4
+
4 5
 def main():
5 6
 
6 7
     parser = argparse.ArgumentParser(description='Compilador para uma linguagem do tipo LL(1)')

+ 0
- 1
selection.py View File

@@ -2,7 +2,6 @@ from lexical import tokenize
2 2
 from beuty import initsintatico
3 3
 from semantico import semantico
4 4
 from  Geracaodecodigo import gerarcodigo
5
-
6 5
 def opction(args):
7 6
     token = []
8 7
     erro = []

+ 1
- 0
semantico.py View File

@@ -1,4 +1,5 @@
1 1
 import re
2
+
2 3
 def semantico(token, args, erro):
3 4
     Avariaveis(token, args,erro)
4 5
 def divisao(token, args, lista,erro):

Loading…
Cancel
Save