* Parser.cs: use ToJSToken to set the operator properly.
svn path=/trunk/mcs/; revision=34249
2004-09-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
+ * Parser.cs: use ToJSToken to set the operator properly.
* FunctionDeclaration.cs: delete spaces.
2004-09-21 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
int tt = ts.PeekToken ();
if (tt == Token.ADD || tt == Token.SUB) {
ts.GetToken ();
- pn = new Binary (parent, pn, MulExpr (parent), JSToken.Plus);
+ pn = new Binary (parent, pn, MulExpr (parent), ToJSToken (tt));
continue;
}
break;