* skeleton.cs: Fix the code that expanded the arrays dynamically,
it was broken, and instead was copying 0 elements.
svn path=/trunk/mcs/; revision=6838
+2002-08-20 Miguel de Icaza <miguel@ximian.com>
+
+ * skeleton.cs: Fix the code that expanded the arrays dynamically,
+ it was broken, and instead was copying 0 elements.
+
2002-07-10 Alp Toker <alp@atoker.com>
* main.c: mktemp() is deprecated with gcc 3.1.1, use mkstemp() instead
. for (;; ++ yyTop) {
. if (yyTop >= yyStates.Length) { // dynamically increase
. int[] i = new int[yyStates.Length+yyMax];
-. System.Array.Copy(yyStates, i, 0);
+. yyStates.CopyTo (i, 0);
. yyStates = i;
. Object[] o = new Object[yyVals.Length+yyMax];
-. System.Array.Copy(yyVals, o, 0);
+. yyVals.CopyTo (o, 0);
. yyVals = o;
. }
. yyStates[yyTop] = yyState;