Overview
Comment:Fixed thinko: brackets don't need need to be escaped in C strings.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: cf2dd739d30ce2fa215d54e36250dc3a19760e79d18b53e3a2fb9cfa4854813d
User & Date: geraint@users.sourceforge.net on 2002-12-19 17:01:41
Other Links: branch diff | manifest | tags
Context
2002-12-19
19:37:40
Added ps rep: "mtt sys cxxsim ps odes[o]"
"mtt sys cxxsim view" now uses ps
"mtt sys cxxsim gnuplot" now invokes gnuplot viewer
check-in: 4613b52204 user: geraint@users.sourceforge.net tags: origin/master, trunk
17:01:41
Fixed thinko: brackets don't need need to be escaped in C strings. check-in: cf2dd739d3 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:48:21
Initial files for gino - see README check-in: 51b26b2720 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/rep/cxxsim.cc from [b135fb8c74] to [5e41fc125d].

209
210
211
212
213
214
215
216

217
218
219
220
221
222

223
224
225
226
227
228

229
230
231
232
233
234

235
236
237
238
239
240
241
209
210
211
212
213
214
215

216
217
218
219
220
221

222
223
224
225
226
227

228
229
230
231
232
233

234
235
236
237
238
239
240
241







-
+





-
+





-
+





-
+







	    s += c;
	  }
	  file >> c;
	}
      }
      
      // fix vector references
      t = "MTTu\(";
      t = "MTTu(";
      while ((i = s.find(t)) < s.length()){
	s.replace(i, 5, "mttu[");
	i += s.substr(i, s.length()).find(",1)");
	s.replace(i, 3, "]");
      }
      t = "MTTx\(";
      t = "MTTx(";
      while ((i = s.find(t)) < s.length()){
	s.replace(i, 5, "mttx[");
	i += s.substr(i, s.length()).find(",1)");
	s.replace(i, 3, "]");
      }
      t = "MTTdX\(";
      t = "MTTdX(";
      while ((i = s.find(t)) < s.length()){
	s.replace(i, 6, "mttdx[");
	i += s.substr(i, s.length()).find(",1)");
	s.replace(i, 3, "]");
      }
      t = "MTTy\(";
      t = "MTTy(";
      while ((i = s.find(t)) < s.length()){
	s.replace(i, 5, "mtty[");
	i += s.substr(i, s.length()).find(",1)");
	s.replace(i, 3, "]");
      }
      
      // strip newlines


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]