| 1 |
--- a/ifcico/flagexp.y |
| 2 |
+++ b/ifcico/flagexp.y |
| 3 |
@@ -11,6 +11,13 @@ |
| 4 |
node *nodebuf; |
| 5 |
int result; |
| 6 |
struct tm *now; |
| 7 |
+ |
| 8 |
+int match(int fl); |
| 9 |
+int logic(int e1, int op, int e2); |
| 10 |
+int checkspeed(int op, int speed); |
| 11 |
+int checkphone(void); |
| 12 |
+int yyerror(char *s); |
| 13 |
+extern int yylex (void); |
| 14 |
%} |
| 15 |
|
| 16 |
%% |
| 17 |
@@ -121,9 +128,6 @@ node *nl; |
| 18 |
now=localtime(&tt); |
| 19 |
p=xstrcpy(expr); |
| 20 |
yyPTR=p; |
| 21 |
-#ifdef FLEX_SCANNER /* flex requires reinitialization */ |
| 22 |
- yy_init=1; |
| 23 |
-#endif |
| 24 |
result=0; |
| 25 |
if ((yyparse())) |
| 26 |
{ |