Overview
Comment:\ escapes newline.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/merging-ode2odes-exe | trunk
Files: files | file ages | folders
SHA3-256: 95669d2bb6c1f08ca9c73e8f56bb50d61b0d586fb3bdafdfa30592e328200d33
User & Date: geraint@users.sourceforge.net on 2001-03-09 04:01:20
Other Links: branch diff | manifest | tags
Context
2001-03-12
03:59:30
SIGINT (C-c C-c) now causes simulation data to be dumped to MTT.core.
SIGQUIT (C-c C-\) as for SIGINT, then raises default SIGQUIT.
SIGFPE as for SIGINT, then raises default SIGABRT.
check-in: 25ab7dc08c user: geraint@users.sourceforge.net tags: origin/merging-ode2odes-exe, trunk
2001-03-09
04:01:20
\ escapes newline. check-in: 95669d2bb6 user: geraint@users.sourceforge.net tags: origin/merging-ode2odes-exe, trunk
03:19:57
Renamed parser parser.exe (cvs ignores by default). check-in: 90917ba925 user: geraint@users.sourceforge.net tags: origin/merging-ode2odes-exe, trunk
Changes

Modified mttroot/mtt/cc/parse_m2cc.cc from [fde05ab4ba] to [6a7d5a9a81].

1
2



3
4
5
6
7
8
9
/* $Id$
 * $Log$



 * Revision 1.1  2000/12/28 09:46:05  peterg
 * put under RCS
 *
 * Revision 1.1  2000/10/31 04:29:50  geraint
 * Initial revision
 *
 */


>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
/* $Id$
 * $Log$
 * Revision 1.1.2.1  2001/03/09 02:59:26  geraint
 * got_comment: (char)c no longer compared to (int)EOF.
 *
 * Revision 1.1  2000/12/28 09:46:05  peterg
 * put under RCS
 *
 * Revision 1.1  2000/10/31 04:29:50  geraint
 * Initial revision
 *
 */
308
309
310
311
312
313
314












315
316
317
318
319
320
321
		/*
		 * EOL is end-of-statement in Octave, add ;
		 */
		   << indent () << ';' << endl
		   << indent ();
	    }
	  buf = "";












	  break;
	default:
	  buf += c;
	}
      if (lbrace->get_nesting_depth ())
	{
	  cout.setf (ios::skipws);







>
>
>
>
>
>
>
>
>
>
>
>







311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
		/*
		 * EOL is end-of-statement in Octave, add ;
		 */
		   << indent () << ';' << endl
		   << indent ();
	    }
	  buf = "";
	  break;
	case '\\':
	  cin >> c;
	  if ('\n' == c)
	    {
	      buf += '\n';
	    }
	  else
	    {
	      buf += '\\';
	      buf += c;
	    }
	  break;
	default:
	  buf += c;
	}
      if (lbrace->get_nesting_depth ())
	{
	  cout.setf (ios::skipws);


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