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


%%
[ \t]+      { ; }

"Syntax error" { 
                    return(SyntaxError);
                  }

\n         return (yytext[0]); 

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

%%


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