delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/11/19/09:45:04

Date: Wed, 19 Nov 1997 15:42:41 +0100 (MET)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
To: Fabrice ILPONSE <fabrice AT asim DOT lip6 DOT fr>
cc: djgpp workers group <djgpp-workers AT delorie DOT com>
Subject: Re: .LEX
In-Reply-To: <3472BE64.3452@trash.lip6.fr>
Message-ID: <Pine.LNX.3.93.971119153533.7504B-100000@acp3bf>
MIME-Version: 1.0

On Wed, 19 Nov 1997, Fabrice ILPONSE wrote:

> 	i've downloaded the djgpp sources and i've been able to rebuild it! But
> i was lokking for the source file of the C/C++ syntaxe (compiled with
> bison or lex). It seems not to be in the package! :)

Now, what, actually, are you compiling? The DJGPP sources are what is
found in the distributed .zip file djlsr201.zip. You, OTOH, seem to be
talking about gcc, i.e. gcc2721s.zip. I'll assume the second case.

As to the C/C++ parser sources you're looking for: gcc seems not to use
(f)lex at all (not a single *.l file in the whole source distribution),
but they do use yacc/bison. The files you're looking for would be parse.y
(C) and cp/parse.y (C++), then, maybe in conjunction with the common
cexp.y. 

Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019