File: fix_bison2

package info (click to toggle)
ifmail 2.14tx8.10-32
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,056 kB
  • sloc: ansic: 30,328; perl: 4,955; yacc: 839; makefile: 716; sh: 424; cpp: 235; lex: 206; awk: 24
file content (26 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/ifcico/flagexp.y
+++ b/ifcico/flagexp.y
@@ -11,6 +11,13 @@
 node *nodebuf;
 int result;
 struct tm *now;
+
+int match(int fl);
+int logic(int e1, int op, int e2);
+int checkspeed(int op, int speed);
+int checkphone(void);
+int yyerror(char *s);
+extern int yylex (void);
 %}
 
 %%
@@ -121,9 +128,6 @@ node *nl;
 	now=localtime(&tt);
 	p=xstrcpy(expr);
 	yyPTR=p;
-#ifdef FLEX_SCANNER  /* flex requires reinitialization */
-	yy_init=1;
-#endif
 	result=0;
 	if ((yyparse()))
 	{