package test; 

import java_cup.runtime.Symbol;

%% 

%unicode 
%line 
%column
%public
%cup

%{

%}

%%

[a-z]+ { return new Symbol( sym.TK_ID , yyline + 1 , yycolumn + 1 , yytext() ) ;  }

(\n|\r|\t|" ")  { }

","  { return new Symbol( sym.TK_COMA , yyline + 1 , yycolumn + 1 , yytext() ) ;  }

.    { System.out.println("Error Lexico " + (yyline+1) + " " + (yycolumn+1) + " " + yytext() ); }