Analizador Lexico Y Sintactico C++

Páginas: 3 (706 palabras) Publicado: 7 de junio de 2012
# include
# include
# include
# include
# include
# include

void aceptacion(int e);
void error(int e);
int busca_columna(char c);
void lexico();
void menu();
void acep();
voiderror();
int comp(char *c);
int comp2(char *c);
int buf_doble(int a);


int edo,col;
char cad,bufer[1002];
FILE *fp,*fe,*fa;

int mat[21][28]={{1,20,6,8,4,201,10,17,13,201,14,15,16,112,113,114,18,201,19,201,119,121,124,125,0,0,0,200},
{1,2,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100},{3,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202},{3,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101,101},
{4,102,102,102,4,5,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102},{4,203,203,203,4,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203},
{6,6,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,204},{103,6,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103},
{8,8,8,9,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,204},{103,103,103,8,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103},
{104,104,104,104,104,104,104,11,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104},{11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,205},
{11,11,11,11,11,11,105,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,205},{13,13,13,13,13,13,13,13,13,105,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,205},
{122,122,122,122,122,122,122,122,122,122,122,122,122,106,122,122,122,122,122,122,122,122,122,122,122,122,122,122},...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Analizador Léxico-Sintáctico
  • Analizador Léxico y Sintáctico
  • Analizador léxico y sintáctico
  • informe analizador lexico y sintactico
  • Analizador Lexico En C++
  • Investigación de generadores de analizadores léxicos y sintácticos
  • analizador lexico y sintactico
  • Analizador sintactico en c#

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS