* cs-tokenizer.cs: Put back different open parens optimization.
svn path=/trunk/mcs/; revision=124905
+2009-01-29 Marek Safar <marek.safar@gmail.com>
+
+ * cs-tokenizer.cs: Put back different open parens optimization.
+
2009-01-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #470227
return Token.OPEN_PARENS;
}
+ // Optimize using peek
+ int xx = peek_char ();
+ switch (xx) {
+ case '(':
+ case '\'':
+ case '"':
+ case '0':
+ case '1':
+ return Token.OPEN_PARENS;
+ }
+
lambda_arguments_parsing = true;
PushPosition ();
d = TokenizeOpenParens ();