This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: module level flags
Bruce Korb <bkorb@pacbell.net> writes:
> On which platform? The answer is: it depends.
> On my particular platform, the compliler "t_word".
> It has previously seen, "typedef int t_word;".
> On my Solaris 2.8 box, it would be a 64 bit sized bucket.
It sounds like your yacc source file is missing a %union directive. If
you add one and make the corresponding changes to your source code, I
believe that gcc will understand what you're intending to do because the
result will be correct C code.
This was how I was taught to write yacc parsers nearly ten years ago.
It's certainly not a new concept.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>