Changeset 34110
- Timestamp:
- 06/24/09 08:38:37 (4 years ago)
- Location:
- lang/csharp/soyText/soyText
- Files:
-
- 6 modified
-
ParsedDocument.cs (modified) (3 diffs)
-
bin/Debug/soyText.application (modified) (1 diff)
-
bin/Debug/soyText.exe (modified) (previous)
-
bin/Debug/soyText.exe.manifest (modified) (1 diff)
-
bin/Debug/soyText.pdb (modified) (previous)
-
bin/Debug/soyText.vshost.application (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/csharp/soyText/soyText/ParsedDocument.cs
r34020 r34110 11 11 Document src; 12 12 public Dictionary<String, String> values; 13 public bool parseError = false; 13 14 private string _body; 14 15 public string body … … 102 103 void init() { 103 104 var resting = false; 105 string key = null; 104 106 _body = ""; 105 107 List<string> cdrs = new List<string>(); … … 111 113 { 112 114 resting = true; 115 continue; 116 } 117 if (key != null) 118 { 119 var m3 = Regex.Match(line, "^ (.*)"); 120 if (m3.Success) 121 { 122 values[key] += "\r\n" + m3.Groups[1]; 123 } 124 else 125 { 126 key = null; 127 } 113 128 } 114 129 var m2 = Regex.Match(line, "([^:]+): *(.*)"); 115 130 if (m2.Success) 116 131 { 117 values[m2.Groups[1].Value] = m2.Groups[2].Value; 132 key = m2.Groups[1].Value; 133 values[key] = m2.Groups[2].Value; 134 } 135 else 136 { 137 parseError = true; 118 138 } 119 139 } -
lang/csharp/soyText/soyText/bin/Debug/soyText.application
r34101 r34110 12 12 </dsig:Transforms> 13 13 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 14 <dsig:DigestValue> kL+zqxU1+NVrMoDP3RjHpKjWr4Y=</dsig:DigestValue>14 <dsig:DigestValue>DX9zoofR/RmeoTaIdbsZOOfLPvI=</dsig:DigestValue> 15 15 </hash> 16 16 </dependentAssembly> -
lang/csharp/soyText/soyText/bin/Debug/soyText.exe.manifest
r34101 r34110 120 120 </dsig:Transforms> 121 121 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 122 <dsig:DigestValue> NCe7azDev8e+yfo1JnHq9p1F6uE=</dsig:DigestValue>122 <dsig:DigestValue>HDN28cdWpdxgVHLrunHve1EDKqs=</dsig:DigestValue> 123 123 </hash> 124 124 </dependentAssembly> -
lang/csharp/soyText/soyText/bin/Debug/soyText.vshost.application
r34101 r34110 12 12 </dsig:Transforms> 13 13 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 14 <dsig:DigestValue> kL+zqxU1+NVrMoDP3RjHpKjWr4Y=</dsig:DigestValue>14 <dsig:DigestValue>DX9zoofR/RmeoTaIdbsZOOfLPvI=</dsig:DigestValue> 15 15 </hash> 16 16 </dependentAssembly>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)