Uite cum am reusit eu pana la urma:<br>
<br>
Am compilat cu gcc in mingw (sub windows) si am rulat executabilul din comand prompt, deci NU din mingw. Sper va ajute.<br>
<br>
Andrei ALECU<br><br><div><span class="gmail_quote">On 11/6/05, <b class="gmail_sendername">Alecu Andrei</b> <<a href="mailto:aalecu@gmail.com">aalecu@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Si eu am aceeasi problema! Se blocheaza yyparse(). Deci cum sa fac?<br>
<br>
Mersi, <br><span class="sg">
Andrei ALECU</span><div><span class="e" id="q_107631d7e05c7cca_2"><br><br><div><span class="gmail_quote">On 11/5/05, <b class="gmail_sendername">Sinziana Manole</b> <<a href="mailto:sinziana_2002@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sinziana_2002@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Normal ca am introdus o comanda, duh! <img></div>
<div>Ideea e ca pe Linux ruleaza fara probleme, citeste linia de la stdout si iese.</div>
<div>Doar ca pe Win, in MingW, citeste linia..si nu mai iese din yyparse().<div><span><br><br><b><i>Doru Arfire <<a href="mailto:doruarfire@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
doruarfire@gmail.com</a>></i></b> wrote:</span></div></div><div><span>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">Sinziana,<br><br>Am rulat acelasi cod si se intampla urmatoarele:<br>yyparse
citeste o linie de la stdin dupa care programul se termina fara
probleme. Deci parerea mea este ca nu e nici o problema cu parserul,
iar motivul pentru care se "blocheaza" e ca asteapta sa introduci o
comanda.<br><br>Succes,<br><br>Doru Arfire<br><br>
<div><span class="gmail_quote">On 11/4/05, <b class="gmail_sendername">Sinziana Manole</b> <<a href="mailto:sinziana_2002@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> sinziana_2002@yahoo.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Buna ziua</div>
<div>Am urmatorul program de test:</div>
<div> </div>
<div>#include "parser.h"</div>
<div>int main()</div>
<div>{</div>
<div>yyparse();</div>
<div>return 0;</div>
<div>}</div>
<div> </div>
<div>Daca il compilez in Windows cu MingW, cand il rulez nu trece de yyparse(), ramane blocat in el.</div>
<div>Pe Linux merge ok.</div>
<div>Ce pot sa fac? </div><span>
<div> </div>
<div>Sinziana</div></span><span>
<p></p>
<hr size="1">
<a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Yahoo! FareChase - Search multiple travel sites in one click.</a>
<p></p></span><br>_______________________________________________<br>so mailing list<br><a href="mailto:so@cursuri.cs.pub.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">so@cursuri.cs.pub.ro</a>
<br><a href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br><br><br></blockquote>
</div>
<br>_______________________________________________<br>so mailing list<br><a href="mailto:so@cursuri.cs.pub.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">so@cursuri.cs.pub.ro</a><br><a href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br></blockquote></span></div><p>
                </p><hr size="1"><span> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Yahoo! FareChase - Search multiple travel sites in one click.</a>
</span><p></p><br>_______________________________________________<br>so mailing list<br><a href="mailto:so@cursuri.cs.pub.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">so@cursuri.cs.pub.ro</a>
<br><a href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br><br><br></blockquote></div><br>
</span></div></blockquote></div><br>