help-bison
[Top][All Lists]
Advanced

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

reading input from file


From: babar haq
Subject: reading input from file
Date: Tue, 19 Feb 2002 13:12:56 -0500

hi ppl

i am trying to read input from a text file using lex. the lex manual says that 
it can be done in the main function of lex but since i am using bison and lex 
together it makes two "main" functions whic generates an error when compiling 
both the files together. where should i assign "yyin" the input file pointer.

thnx
-- 

_______________________________________________
Win a ski trip!
http://www.nowcode.com/register.asp?affiliate=1net2phone3a





reply via email to

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