/[AnywhereTS-MSSQL]/trunk/SvnVersionHelper/Program.cs
ViewVC logotype

Diff of /trunk/SvnVersionHelper/Program.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/SvnVersionHelper/Program.cs	2012/08/23 17:02:00	220
+++ trunk/SvnVersionHelper/Program.cs	2012/08/23 17:20:28	221
@@ -37,7 +37,7 @@
                         Console.WriteLine("{0} (transformed to) ",line);
                         string line2 = line.Replace("private const string Minor = ", "").Trim().Replace(";", "");
                         line2 = line2.Replace("Private Const Minor As String = ", "").Trim();
-                        Console.WriteLine(line2);
+                        //Console.WriteLine(line2);
 
                         string[] shifts = line2.Split(new string[]{"|","Or"}, StringSplitOptions.RemoveEmptyEntries);
                         List<int> shift_ors = new List<int>();
@@ -45,8 +45,8 @@
                         foreach (string shift in shifts)
                         {
                             int shift_value = 0;
-                            string t_shift = shift.Trim();
-                            //Console.Write("shift: {0} = ", t_shift);
+                            string t_shift = shift.Trim().Replace("\"","");
+                            //Console.Write("001 shift: {0} = ", t_shift);
 
                             if (t_shift.Contains("<<") || t_shift.Contains("Or"))
                             {
@@ -73,7 +73,7 @@
                         {
                             final_value = final_value | shift_or;
                         }
-                        //Console.Write("{0} = ",line2);
+                        //Console.Write("{0} = ", line2);
                         //Console.Write(final_value);
                         //Console.WriteLine();
                         string replace = string.Format("\"{0}\"", final_value.ToString());

 

  ViewVC Help
Powered by ViewVC 1.1.22