bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help required for reading multiple files in bison


From: milind
Subject: help required for reading multiple files in bison
Date: Mon, 23 Sep 2002 23:38:04 -0600

sir,
 
i have to open 1400 files in a folder. one at a time.
 
i used the following
 
fp=fopen("filename","r");
yyin=fp;
....
....
yyparse();
fclose(fp)
 
in a loop. this worked fine till it opened the first 2 files. but when it tried to open  the thir file it gave me an segmentation fault.
please help me out.
 
 
milind

reply via email to

[Prev in Thread] Current Thread [Next in Thread]