Re: Pro*C Grammar

From: Michael Krolewski <vandra_at_u.washington.edu>
Date: Mon, 22 Jun 1998 22:30:10 -0700
Message-ID: <358F3D62.BD19311A_at_u.washington.edu>


I am not sure what you are refering to.

If you have generated the "C" source associated with a lex or yacc source, you

would have to convert it to a precompilable version source file. You can then apply the proC precompiler to the file, etc. You can make lex or yacc create files that end in the proC precompiler ending. The file name is not fixed. The

default may be .c but that is not fixed. Change or create the rule for going from one file type to another.

Alternatively, when you need to call proC functions from inside lex and/or yacc,
use a function call to an appropriately created proC file. That way you can have your lex files and their compiler directives, etc and have your proC precompiler files, etc. You can even write object oriented code to "mask" your proC calls.

Mike Krolewski

Olivier Morbe wrote:

> Hello,
>
> is there anybody here who have a grammar of pro*c that should be used with
> lex/yacc ?
>
> Thanks in advance.
>
> ---
> olivier morbe
Received on Tue Jun 23 1998 - 07:30:10 CEST

Original text of this message