Public feed #379613

Mon lex

public text v1 · immutable
Raw Edit
·published 2007-03-03 11:44 UTC
rendered paste body
%{

#include "draw.tokens.h"

%}

%%

[0-9]+		{ yylval=atoi(yytext); return INTEGER; }
[+\-\n]		{ return *yytext; }
[\t ]		;
.		yyerror("Caractère pas beau!");