[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: include files in bison parser
From: |
Hans Aberg |
Subject: |
Re: include files in bison parser |
Date: |
Sun, 11 May 2003 00:14:29 +0200 |
At 16:55 -0400 2003/05/10, Vitaliy Ziskin wrote:
>I wrote a language parser that parse a sequece of statments. My question is
>whether I can write a function that allows a user to use include files in this
>program. For this, I suppose the bison needs to switch to the include file as
>a yyin and then when it is done come back to the old yyin. I tried some
>way of
>doing it but failed misserably. I'm using flex to read tokens and bison to
>parse them. If this is not the right place to ask this question, can you
>direct me to the right on. I appreciate all of your help.
The Flex manual has a section on multiple input buffers. Have you tried
that one? Check the Flex manual or the
Help-flex mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-flex
Hans Aberg
- Re: Finding out when a token is consumed, (continued)
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/11
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/11
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/12
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/12
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/13
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/13
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/14
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/14
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/15
- include files in bison parser, Vitaliy Ziskin, 2003/05/10
- Re: include files in bison parser,
Hans Aberg <=
Re: Finding out when a token is consumed, David Fletcher, 2003/05/09