How to use parameters at exe-file with flex++ & bison++

sun3!002626@relay.NL.net (Erwin Buist)
Mon, 27 Mar 1995 07:47:25 GMT

          From comp.compilers

Related articles
How to use parameters at exe-file with flex++ & bison++ sun3!002626@relay.NL.net (1995-03-27)
| List of all articles for this month |
Newsgroups: comp.compilers
From: sun3!002626@relay.NL.net (Erwin Buist)
Keywords: flex, yacc, question, C++
Organization: Ingenieursbureau NS
Date: Mon, 27 Mar 1995 07:47:25 GMT

Hello,


Can someone help with the next problem:


With Lex and Yacc I can use fopen to open an input- and output- file




eg:


extern FILE *yyin


yyin = fopen(av[1], "r") /* for the input file. */






Now I use IOSTREAM for my flex++ and bison++ programs. The big problem now
is to get the right type for my input-variable so 'yyin' can be used.


Thank you.


Erwin Buist
Dutch Railway (NS)
002626@ib.ns.nl
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.