Re: lex/yacc

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

 



On Tue, May 6, 2008 at 9:19 AM, Vardhan, Sundara (GE Infra, Energy)
<sundara.vardhan@xxxxxx> wrote:
> Hi
>
>  I have a lex file which generates the corresponding c file using flex. In that a getc() is used to get the next character. The program hangs in this place indefinitely . The same program works fine on AIX and Solaris. Any ideas or pointers?

What OS are you using?  Sounds like getc() is blocking -- is it
possible that another thread/process is locking the file you are
trying to read?  Kill the process with some signal that will generate
a core dump and have a look.

-- 
Andrew Bell
andrew.bell.ia@xxxxxxxxx

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux