[antlr-interest] C# port of StringTemplate : small bug and possible fix

Gregory Sidier gsidier at yahoo.com
Thu Mar 10 05:10:39 PST 2005


Hi,

The C# port of StringTemplate produces error output
when the "separator" construct is used. 

Apparently the faulty code is in ASTExpr.cs[line 442]
and NoIndentWriter.cs[line 34] also needs a  fix.

At these two places, the references to
System.IO.StreamWriter should be changed to
System.IO.TextWriter.

I haven't checked if this problem occurs in the java
version.

Perhaps a patch was already issued, but i couldn't
find one.

BTW out of curiosity, how is the C# port produced ??
Is  it a manual port or a fully automatic process or a
mix (automatic + corrections)?

Thanks.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


More information about the antlr-interest mailing list