Commit fe85a630 authored by Jaime Arias's avatar Jaime Arias
Browse files

Fix spaces

parent 2050cdb8
......@@ -29,6 +29,6 @@ cp/[ ]*"(" { return(CP);}
^in { return(IN);}
^out { return(OUT);}
[0-9]+ { sscanf(yytext,"%d",&yylval.i); return(ENTIER);}
[a-zA-Z_][a-zA-Z0-9_]* { yylval.s=strdup(yytext); return(VARIABLE);}
[a-zA-Z_][a-zA-Z0-9_]* { yylval.s = strdup(yytext); return(VARIABLE);}
[ \t\n] {}
%%
......@@ -2,9 +2,7 @@
/* .......... Declarations C ........*/
//#include <stdio.h>
#include <string>
//#include <iostream>
#include <stdio.h>
#include "RdPMonteur.h"
......@@ -17,6 +15,7 @@ extern char yytext[];
/*........... Code C additionnel ....*/
extern "C" {
int yylex();
int yyerror(const char* s){
printf("parsing error\n");
return (1);
......@@ -249,5 +248,3 @@ bool RdPMonteur::create(const char *f){
fclose(yyin);
return (i==0);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment