* VariableDeclaration.cs: added the initializer to ToString.
svn path=/trunk/mcs/; revision=19290
2003-10-21 cesar lopez nataren <cesar@ciencias.unam.mx>
+ * VariableDeclaration.cs: added the initializer to ToString.
+
* jscript-lexer-parser.g: Allow "christmas trees" (aka expression
trees) building.
* README: added some info about hacking the grammar
* JSparser.cs: Updated the constructor to not receiving params.
+
* JScriptLexer.cs, JScriptParser.cs, JScriptParserTokenTypes.cs,
JScriptParserTokenTypes.txt: update of antlr generated files from
grammar changes.
{
StringBuilder sb = new StringBuilder ();
- // FIXME: we must add the string
- // representation of val, too.
-
sb.Append (Id);
+ sb.Append (" = ");
+ sb.Append (val.ToString ());
return sb.ToString ();
}