[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: redirection of the input
From: |
Xinan Tang |
Subject: |
RE: redirection of the input |
Date: |
Mon, 2 Feb 2004 15:12:20 -0800 |
Hi
Actually, the best way is to redefine YY_INPUT.
For example,
#define YY_INPUT fread(...)
Good luck
--------------------
Xinan Tang
Xambala Inc.
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Urdaneta,Alfonso E (N-Summitt Technologies)
Sent: Monday, February 02, 2004 11:24 AM
To: Chuang Liu; address@hidden
Subject: RE: redirection of the input
> Now I want to change the parser such that it can parse
> a string in C program, but I don't know to redirect
> the input from the stdin to a string. Any Hints?
yy_scan_string(const char *str);
--
alfonso e. urdaneta
Answer: No
Question: Should I reply before the quote?
_______________________________________________
address@hidden http://mail.gnu.org/mailman/listinfo/help-bison