www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Re2d

reply "Joey Peters" <squirrel nidhogg.com> writes:
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. 
Apr 07 2005
parent reply Carlos <carlos2003nov yahoo.ca> writes:
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. 
 
 

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
Apr 07 2005
parent reply "Joey Peters" <squirrel nidhogg.com> writes:
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.

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

Apr 08 2005
parent reply Carlos <carlos2003nov yahoo.ca> writes:
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
Apr 08 2005
parent "Joey Peters" <squirrel nidhogg.com> writes:
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

Apr 08 2005