%{
#include "semanticErrors.tab.h"
#include <stdlib.h>
#include <stdio.h>
%}


%%
[ \t]+      { ; }

"Run-time error" { 
                    return(SemanticError);
                  }

\n         return (yytext[0]); 

.        { ; /* ignora tudo o resto */ }

%%


int yywrap()                  /* called by yylex()                  */
{ return(1); }                /*   0: yylex() continues reading     */
                              /*   other: yylex() stops             */
