| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <19991001122235.13875.rocketmail@web108.yahoomail.com> |
| Date: | Fri, 1 Oct 1999 05:22:35 -0700 (PDT) |
| From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
| Reply-To: | earnie_boyd AT yahoo DOT com |
| Subject: | Re: Regarding generation of Header file |
| To: | Gupta Sheetal GUR <Gupta DOT Sheetal AT avl DOT com> |
| Cc: | cygwin users <cygwin AT sourceware DOT cygnus DOT com> |
| MIME-Version: | 1.0 |
--- Gupta Sheetal GUR <Gupta DOT Sheetal AT avl DOT com> wrote:
> hi there,
> I had mailed to 'cygwin-info AT sourceware DOT cygnus DOT com' but not got any response
>
> i am sorry to disturb you.But its a urgent requirement .
>
> THANKS in advance.
>
> Kindly suggest me to come out of the following problem.
> I am using flex and byacc tool on winnt4.0
> When i generate the y.tab.c and y.tab.h files using byacc -d test.y
> test.y
>
> %{
> #include <stdio.h>
> %}
>
> %union {
> int a;
> double x;
> }
>
> %token <x> NAME
> %token <a> NUMBER
>
> %%
> statement: NAME '=' expression
> |expression
> ;
> expression:NUMBER '+' NUMBER
> |NUMBER '-' NUMBER
> ;
> %%
>
>
>
> PROBLEM
> the header file contain the union part two times
> or one complete and other cut one why???
>
> y.tab.h
> #define NAME 257
> #define NUMBER 258
> typedef union {
> int a;
> double x;
> }nt a;
> double x;
> } YYSTYPE;
> YYSTYPE;
> extern YYSTYPE yylval;
>
> THANKS
>
> Sheetal Gupta
> Software Engineer
> AVL India Software Pvt Ltd.
> 376-377 Udyog Vihar, Phase IV,
> Gurgaon -122015 (Haryana (INDIA)
>
> > Tel 91-0124-341-302/ 769,340-387/858/389/386
> E-mail: sheetal DOT gupta AT avl DOT com
> sheetal_g AT hotmail DOT com
> sheetalgupta AT usa DOT net
I don't have a clue. I've forwarded you message to the list. Can anyone help
Seetal?
=====
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>
Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>
(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |