Thread overview
Re2d
Apr 07, 2005
Joey Peters
Apr 08, 2005
Carlos
Apr 08, 2005
Joey Peters
Apr 08, 2005
Carlos
Apr 08, 2005
Joey Peters
Nov 25
Ulya
April 07, 2005
I made a small adjustment to http://re2c.org/ re2c, a lexical analyser generator to not produce #line tags. The rest it generates is still compatible with D.



April 08, 2005
Joey Peters wrote:
> I made a small adjustment to http://re2c.org/ re2c, a lexical analyser generator to not produce #line tags. The rest it generates is still compatible with D. 
> 
> 
What version of RE2C: THe CVS one or
the March 12, 2005 package ?

Very recently some bugs have been corrected
in the CVS.

Did you removed line tags production, because you dont need
them, or because they are imcompatible with D ?

I think #line tags are compatible with D.
those are called special tokens.

C
April 08, 2005
The package one, not the CVS one, I don't have a CVS client, yet.

No, I don't think #line s work. The whole #x functionality has been taken out and been elegantly put into new features, but I don't know about #line's replacement.

"Carlos" <carlos2003nov@yahoo.ca> schreef in bericht news:d34vv7$1c9d$1@digitaldaemon.com...
> Joey Peters wrote:
>> I made a small adjustment to http://re2c.org/ re2c, a lexical analyser generator to not produce #line tags. The rest it generates is still compatible with D.
> What version of RE2C: THe CVS one or
> the March 12, 2005 package ?
>
> Very recently some bugs have been corrected
> in the CVS.
>
> Did you removed line tags production, because you dont need them, or because they are imcompatible with D ?
>
> I think #line tags are compatible with D.
> those are called special tokens.
>
> C


April 08, 2005
Joey Peters wrote:

> No, I don't think #line s work. The whole #x functionality has been taken out and been elegantly put into new features, but I don't know about #line's replacement.

http://www.digitalmars.com/d/lex.html#specialtokenseq
April 08, 2005
Ok that's -really- weird, why did they choose to keep -that-? They could replace it with a pragma or something else more elegant. Hmmm... I stand corrected.

"Carlos" <carlos2003nov@yahoo.ca> schreef in bericht news:d35put$2abk$1@digitaldaemon.com...
> Joey Peters wrote:
>
>> No, I don't think #line s work. The whole #x functionality has been taken out and been elegantly put into new features, but I don't know about #line's replacement.
>
> http://www.digitalmars.com/d/lex.html#specialtokenseq


November 25
On Thursday, 7 April 2005 at 20:06:46 UTC, Joey Peters wrote:
> I made a small adjustment to http://re2c.org/ re2c, a lexical analyser generator to not produce #line tags. The rest it generates is still compatible with D.

Now there's an official port: http://re2c.org/releases/release_notes.html#release-4-0