From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,59ea45c31346f2c4 X-Google-Attributes: gid103376,public From: rdt@liyorkrd.li.co.uk Subject: Re: Ada type (yacc)YYSTYPE is ? Date: 1999/01/19 Message-ID: <7826ad$l3$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 434401194 References: <77qu4d$jt8@lotho.delphi.com> <36a39dac.1648165@news.pacbell.net> <36a43307.39889065@news.pacbell.net> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Jan 19 14:54:11 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) via proxy gateway CERN-HTTPD/3.0 libwww/2.17 Date: 1999-01-19T00:00:00+00:00 List-Id: In article <36a43307.39889065@news.pacbell.net>, tmoran@bix.com (Tom Moran) wrote: > >Having you considering using aflex? This is an Ada implementation of > >the flex lexical analyzer generator. It has a companion parser > >generator ayacc. > I'm using them. But their docs just suggest "subtype yystype is > integer;" or variant records. > I have used these tools and from what I can remember, you are free to use whatever type you like. If you are going to compile the resultant code with and Ada95 compiler then I can see no reason why you can't use an Ada95 construct. Regards Richard Toy -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own