Rev 12963 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12963 | Rev 13121 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | real -?{int}([.]{mantisse})?([Ee][+-]?{int})? |
19 | real -?{int}([.]{mantisse})?([Ee][+-]?{int})? |
20 | eol \n.* |
20 | eol \n.* |
21 | 21 | ||
22 | /* la flèche */ |
22 | /* la flèche */ |
23 | fleche [-]+> |
23 | fleche [-]+> |
- | 24 | ||
- | 25 | /* la double flèche */ |
|
- | 26 | dfleche <[-]+> |
|
24 | 27 | ||
25 | %% |
28 | %% |
26 | /* les règles */ |
29 | /* les règles */ |
27 | 30 | ||
28 | /* pour les atomes */ |
31 | /* pour les atomes */ |
Line 75... | Line 78... | ||
75 | } |
78 | } |
76 | {spc}+\+ {position += strlen(yytext); return SpcPlus;} |
79 | {spc}+\+ {position += strlen(yytext); return SpcPlus;} |
77 | \- {position += strlen(yytext); return Moins;} |
80 | \- {position += strlen(yytext); return Moins;} |
78 | \+ {position ++; return Plus;} |
81 | \+ {position ++; return Plus;} |
79 | \* {position ++; return Mul;} |
82 | \* {position ++; return Mul;} |
- | 83 | {dfleche} {position += strlen(yytext); return Dfleche;} |
|
80 | {fleche} {position += strlen(yytext); return Fleche;} |
84 | {fleche} {position += strlen(yytext); return Fleche;} |
81 | {spc} {position += strlen(yytext); return Spc;} |
85 | {spc} {position += strlen(yytext); return Spc;} |
82 | \^ {position ++; return Haut;} |
86 | \^ {position ++; return Haut;} |
83 | _\(s\)|_s|s {position += strlen(yytext); return Sol;} |
87 | _\(s\)|_s|s {position += strlen(yytext); return Sol;} |
84 | _\(l\)|_l|l {position += strlen(yytext); return Liq;} |
88 | _\(l\)|_l|l {position += strlen(yytext); return Liq;} |