4343
|
1 /* |
|
2 |
|
3 Copyright (C) 2003 John W. Eaton |
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
20 |
|
21 */ |
|
22 |
|
23 #if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION) |
|
24 #pragma implementation |
|
25 #endif |
|
26 |
|
27 #ifdef HAVE_CONFIG_H |
|
28 #include <config.h> |
|
29 #endif |
|
30 |
|
31 #include <iostream> |
|
32 |
|
33 #include "defun.h" |
4654
|
34 #include "error.h" |
|
35 #include "gripes.h" |
4343
|
36 #include "oct-map.h" |
|
37 #include "ov-base.h" |
|
38 #include "ov-fcn-handle.h" |
4980
|
39 #include "ov-usr-fcn.h" |
4343
|
40 #include "pr-output.h" |
4980
|
41 #include "pt-pr-code.h" |
|
42 #include "pt-misc.h" |
|
43 #include "pt-stmt.h" |
|
44 #include "pt-cmd.h" |
|
45 #include "pt-exp.h" |
|
46 #include "pt-assign.h" |
4343
|
47 #include "variables.h" |
4988
|
48 #include "parse.h" |
|
49 |
|
50 #include "byte-swap.h" |
|
51 #include "ls-oct-ascii.h" |
|
52 #include "ls-hdf5.h" |
|
53 #include "ls-utils.h" |
4343
|
54 |
|
55 DEFINE_OCTAVE_ALLOCATOR (octave_fcn_handle); |
|
56 |
4612
|
57 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_fcn_handle, |
|
58 "function handle", |
|
59 "function handle"); |
4343
|
60 |
4924
|
61 octave_value_list |
|
62 octave_fcn_handle::subsref (const std::string& type, |
|
63 const std::list<octave_value_list>& idx, |
|
64 int nargout) |
|
65 { |
|
66 octave_value_list retval; |
|
67 |
|
68 switch (type[0]) |
|
69 { |
|
70 case '(': |
|
71 { |
|
72 octave_function *f = function_value (); |
|
73 retval = f->subsref (type, idx, nargout); |
|
74 } |
|
75 break; |
|
76 |
|
77 |
|
78 case '{': |
|
79 case '.': |
|
80 { |
4930
|
81 std::string typ_nm = type_name (); |
|
82 error ("%s cannot be indexed with %c", typ_nm.c_str (), type[0]); |
4924
|
83 } |
|
84 break; |
|
85 |
|
86 default: |
|
87 panic_impossible (); |
|
88 } |
|
89 |
|
90 // XXX FIXME XXX -- perhaps there should be an |
|
91 // octave_value_list::next_subsref member function? See also |
|
92 // octave_builtin::subsref. |
|
93 |
|
94 if (idx.size () > 1) |
4994
|
95 retval = retval(0).next_subsref (nargout, type, idx); |
4924
|
96 |
|
97 return retval; |
|
98 } |
|
99 |
4988
|
100 bool |
|
101 octave_fcn_handle::save_ascii (std::ostream& os, bool&, bool) |
|
102 { |
|
103 os << nm << "\n"; |
4989
|
104 |
4988
|
105 if (nm == "@<anonymous>") |
|
106 { |
4989
|
107 print_raw (os, true); |
|
108 os << "\n"; |
4988
|
109 } |
|
110 |
|
111 return true; |
|
112 } |
|
113 |
|
114 bool |
|
115 octave_fcn_handle::load_ascii (std::istream& is) |
|
116 { |
|
117 is >> nm; |
4989
|
118 |
4988
|
119 if (nm == "@<anonymous>") |
|
120 { |
|
121 char c; |
|
122 OSSTREAM buf; |
|
123 |
4989
|
124 // Skip preceeding newline(s). |
|
125 while (is.get (c) && c == '\n') |
|
126 /* do nothing */; |
4988
|
127 |
|
128 if (is) |
|
129 { |
|
130 buf << c; |
|
131 |
|
132 // Get a line of text whitespace characters included, leaving |
4989
|
133 // newline in the stream. |
|
134 |
4988
|
135 while (is.peek () != '\n') |
|
136 { |
|
137 is.get (c); |
|
138 if (! is) |
|
139 break; |
|
140 buf << c; |
|
141 } |
|
142 } |
|
143 |
|
144 buf << OSSTREAM_ENDS; |
|
145 |
|
146 int parse_status; |
4989
|
147 octave_value anon_fcn_handle = eval_string (OSSTREAM_STR (buf), |
4988
|
148 true, parse_status); |
|
149 OSSTREAM_FREEZE (buf); |
|
150 |
4989
|
151 if (parse_status == 0) |
|
152 { |
|
153 octave_fcn_handle *fh = anon_fcn_handle.fcn_handle_value (); |
|
154 if (fh) |
|
155 fcn = fh->fcn; |
|
156 else |
|
157 return false; |
|
158 } |
|
159 else |
|
160 return false; |
4988
|
161 } |
|
162 else |
|
163 { |
|
164 fcn = lookup_function (nm); |
|
165 if (! fcn.is_function ()) |
|
166 return false; |
|
167 } |
|
168 |
|
169 return true; |
|
170 } |
|
171 |
|
172 bool |
|
173 octave_fcn_handle::save_binary (std::ostream& os, bool&) |
|
174 { |
|
175 FOUR_BYTE_INT tmp = nm.length (); |
|
176 os.write (X_CAST (char *, &tmp), 4); |
|
177 os.write (nm.c_str (), nm.length ()); |
|
178 if (nm == "@<anonymous>") |
|
179 { |
|
180 OSSTREAM buf; |
|
181 print_raw (buf, true); |
|
182 std::string stmp = OSSTREAM_STR (buf); |
|
183 OSSTREAM_FREEZE (buf); |
|
184 tmp = stmp.length (); |
|
185 os.write (X_CAST (char *, &tmp), 4); |
|
186 os.write (stmp.c_str (), stmp.length ()); |
|
187 } |
|
188 return true; |
|
189 } |
|
190 |
|
191 bool |
|
192 octave_fcn_handle::load_binary (std::istream& is, bool swap, |
|
193 oct_mach_info::float_format) |
|
194 { |
|
195 FOUR_BYTE_INT tmp; |
|
196 if (! is.read (X_CAST (char *, &tmp), 4)) |
|
197 return false; |
|
198 if (swap) |
|
199 swap_bytes<4> (&tmp); |
|
200 |
|
201 OCTAVE_LOCAL_BUFFER (char, ctmp1, tmp+1); |
|
202 is.read (ctmp1, tmp); |
|
203 nm = std::string (ctmp1); |
|
204 |
|
205 if (! is) |
|
206 return false; |
|
207 |
|
208 if (nm == "@<anonymous>") |
|
209 { |
|
210 if (! is.read (X_CAST (char *, &tmp), 4)) |
|
211 return false; |
|
212 if (swap) |
|
213 swap_bytes<4> (&tmp); |
|
214 |
|
215 OCTAVE_LOCAL_BUFFER (char, ctmp2, tmp+1); |
|
216 is.read (ctmp2, tmp); |
|
217 |
|
218 int parse_status; |
|
219 octave_value anon_fcn_handle = eval_string (ctmp2, true, parse_status); |
|
220 |
4989
|
221 if (parse_status == 0) |
|
222 { |
|
223 octave_fcn_handle *fh = anon_fcn_handle.fcn_handle_value (); |
|
224 if (fh) |
|
225 fcn = fh->fcn; |
|
226 else |
|
227 return false; |
|
228 } |
|
229 else |
|
230 return false; |
4988
|
231 } |
|
232 else |
|
233 { |
|
234 fcn = lookup_function (nm); |
|
235 if (! fcn.is_function ()) |
|
236 return false; |
|
237 } |
|
238 return true; |
|
239 } |
|
240 |
|
241 #if defined (HAVE_HDF5) |
|
242 bool |
|
243 octave_fcn_handle::save_hdf5 (hid_t loc_id, const char *name, |
|
244 bool /* save_as_floats */) |
|
245 { |
|
246 hid_t group_hid = -1; |
|
247 group_hid = H5Gcreate (loc_id, name, 0); |
|
248 if (group_hid < 0 ) return false; |
|
249 |
|
250 hid_t space_hid = -1, data_hid = -1, type_hid = -1;; |
|
251 bool retval = true; |
|
252 |
|
253 // attach the type of the variable |
|
254 type_hid = H5Tcopy (H5T_C_S1); |
|
255 H5Tset_size (type_hid, nm.length () + 1); |
|
256 if (type_hid < 0) |
|
257 { |
|
258 H5Gclose (group_hid); |
|
259 return false; |
|
260 } |
|
261 |
|
262 OCTAVE_LOCAL_BUFFER (hsize_t, hdims, 2); |
|
263 hdims[0] = 0; |
|
264 hdims[1] = 0; |
|
265 space_hid = H5Screate_simple (0 , hdims, (hsize_t*) 0); |
|
266 if (space_hid < 0) |
|
267 { |
|
268 H5Tclose (type_hid); |
|
269 H5Gclose (group_hid); |
|
270 return false; |
|
271 } |
|
272 |
|
273 data_hid = H5Dcreate (group_hid, "nm", type_hid, space_hid, H5P_DEFAULT); |
|
274 if (data_hid < 0 || H5Dwrite (data_hid, type_hid, H5S_ALL, H5S_ALL, |
4989
|
275 H5P_DEFAULT, |
4990
|
276 X_CAST (void *, nm.c_str ())) < 0) |
4988
|
277 { |
|
278 H5Sclose (space_hid); |
|
279 H5Tclose (type_hid); |
|
280 H5Gclose (group_hid); |
|
281 return false; |
|
282 } |
|
283 H5Dclose (data_hid); |
|
284 |
|
285 if (nm == "@<anonymous>") |
|
286 { |
|
287 OSSTREAM buf; |
|
288 print_raw (buf, true); |
|
289 std::string stmp = OSSTREAM_STR (buf); |
|
290 OSSTREAM_FREEZE (buf); |
|
291 |
|
292 // attach the type of the variable |
|
293 H5Tset_size (type_hid, stmp.length () + 1); |
|
294 if (type_hid < 0) |
|
295 { |
|
296 H5Gclose (group_hid); |
|
297 return false; |
|
298 } |
|
299 |
|
300 data_hid = H5Dcreate (group_hid, "fcn", type_hid, space_hid, |
|
301 H5P_DEFAULT); |
|
302 if (data_hid < 0 || H5Dwrite (data_hid, type_hid, H5S_ALL, H5S_ALL, |
4989
|
303 H5P_DEFAULT, |
4990
|
304 X_CAST (void *, stmp.c_str ())) < 0) |
4988
|
305 { |
|
306 H5Sclose (space_hid); |
|
307 H5Tclose (type_hid); |
|
308 H5Gclose (group_hid); |
|
309 return false; |
|
310 } |
|
311 |
|
312 H5Dclose (data_hid); |
|
313 } |
|
314 |
|
315 H5Sclose (space_hid); |
|
316 H5Tclose (type_hid); |
|
317 H5Gclose (group_hid); |
|
318 |
|
319 return retval; |
|
320 } |
|
321 |
|
322 bool |
|
323 octave_fcn_handle::load_hdf5 (hid_t loc_id, const char *name, |
|
324 bool /* have_h5giterate_bug */) |
|
325 { |
|
326 hid_t group_hid, data_hid, space_hid, type_hid, type_class_hid, st_id; |
|
327 hsize_t rank; |
|
328 int slen; |
|
329 |
|
330 group_hid = H5Gopen (loc_id, name); |
|
331 if (group_hid < 0 ) return false; |
|
332 |
|
333 data_hid = H5Dopen (group_hid, "nm"); |
|
334 |
|
335 if (data_hid < 0) |
|
336 { |
|
337 H5Gclose (group_hid); |
|
338 return false; |
|
339 } |
|
340 |
|
341 type_hid = H5Dget_type (data_hid); |
|
342 type_class_hid = H5Tget_class (type_hid); |
|
343 |
|
344 if (type_class_hid != H5T_STRING) |
|
345 { |
|
346 H5Tclose (type_hid); |
|
347 H5Dclose (data_hid); |
|
348 H5Gclose (group_hid); |
|
349 return false; |
|
350 } |
|
351 |
|
352 space_hid = H5Dget_space (data_hid); |
|
353 rank = H5Sget_simple_extent_ndims (space_hid); |
|
354 |
|
355 if (rank != 0) |
|
356 { |
|
357 H5Sclose (space_hid); |
|
358 H5Tclose (type_hid); |
|
359 H5Dclose (data_hid); |
|
360 H5Gclose (group_hid); |
|
361 return false; |
|
362 } |
|
363 |
|
364 slen = H5Tget_size (type_hid); |
|
365 if (slen < 0) |
|
366 { |
|
367 H5Sclose (space_hid); |
|
368 H5Tclose (type_hid); |
|
369 H5Dclose (data_hid); |
|
370 H5Gclose (group_hid); |
|
371 return false; |
|
372 } |
|
373 |
|
374 OCTAVE_LOCAL_BUFFER (char, nm_tmp, slen); |
|
375 |
|
376 // create datatype for (null-terminated) string to read into: |
|
377 st_id = H5Tcopy (H5T_C_S1); |
|
378 H5Tset_size (st_id, slen); |
|
379 |
|
380 if (H5Dread (data_hid, st_id, H5S_ALL, H5S_ALL, H5P_DEFAULT, |
|
381 X_CAST (void *, nm_tmp)) < 0) |
|
382 { |
|
383 H5Sclose (space_hid); |
|
384 H5Tclose (type_hid); |
|
385 H5Gclose (group_hid); |
|
386 return false; |
|
387 } |
|
388 H5Tclose (st_id); |
|
389 H5Dclose (data_hid); |
|
390 nm = nm_tmp; |
|
391 |
|
392 if (nm == "@<anonymous>") |
|
393 { |
|
394 data_hid = H5Dopen (group_hid, "fcn"); |
|
395 |
|
396 if (data_hid < 0) |
|
397 { |
|
398 H5Gclose (group_hid); |
|
399 return false; |
|
400 } |
|
401 |
|
402 type_hid = H5Dget_type (data_hid); |
|
403 type_class_hid = H5Tget_class (type_hid); |
|
404 |
|
405 if (type_class_hid != H5T_STRING) |
|
406 { |
|
407 H5Tclose (type_hid); |
|
408 H5Dclose (data_hid); |
|
409 H5Gclose (group_hid); |
|
410 return false; |
|
411 } |
|
412 |
|
413 space_hid = H5Dget_space (data_hid); |
|
414 rank = H5Sget_simple_extent_ndims (space_hid); |
|
415 |
|
416 if (rank != 0) |
|
417 { |
|
418 H5Sclose (space_hid); |
|
419 H5Tclose (type_hid); |
|
420 H5Dclose (data_hid); |
|
421 H5Gclose (group_hid); |
|
422 return false; |
|
423 } |
|
424 |
|
425 slen = H5Tget_size (type_hid); |
|
426 if (slen < 0) |
|
427 { |
|
428 H5Sclose (space_hid); |
|
429 H5Tclose (type_hid); |
|
430 H5Dclose (data_hid); |
|
431 H5Gclose (group_hid); |
|
432 return false; |
|
433 } |
|
434 |
|
435 OCTAVE_LOCAL_BUFFER (char, fcn_tmp, slen); |
|
436 |
|
437 // create datatype for (null-terminated) string to read into: |
|
438 st_id = H5Tcopy (H5T_C_S1); |
|
439 H5Tset_size (st_id, slen); |
|
440 |
|
441 if (H5Dread (data_hid, st_id, H5S_ALL, H5S_ALL, H5P_DEFAULT, |
|
442 X_CAST (void *, fcn_tmp)) < 0) |
|
443 { |
|
444 H5Sclose (space_hid); |
|
445 H5Tclose (type_hid); |
|
446 H5Gclose (group_hid); |
|
447 return false; |
|
448 } |
|
449 H5Dclose (data_hid); |
|
450 H5Tclose (st_id); |
|
451 |
|
452 int parse_status; |
|
453 octave_value anon_fcn_handle = eval_string (fcn_tmp, true, parse_status); |
|
454 |
4989
|
455 if (parse_status == 0) |
|
456 { |
|
457 octave_fcn_handle *fh = anon_fcn_handle.fcn_handle_value (); |
|
458 if (fh) |
|
459 fcn = fh->fcn; |
|
460 else |
|
461 return false; |
|
462 } |
|
463 else |
|
464 return false; |
4988
|
465 } |
|
466 else |
|
467 { |
|
468 fcn = lookup_function (nm); |
|
469 if (! fcn.is_function ()) |
|
470 return false; |
|
471 } |
|
472 |
|
473 return true; |
|
474 } |
|
475 #endif |
|
476 |
4343
|
477 void |
|
478 octave_fcn_handle::print (std::ostream& os, bool pr_as_read_syntax) const |
|
479 { |
|
480 print_raw (os, pr_as_read_syntax); |
|
481 newline (os); |
|
482 } |
|
483 |
|
484 void |
|
485 octave_fcn_handle::print_raw (std::ostream& os, bool pr_as_read_syntax) const |
|
486 { |
4980
|
487 bool printed = false; |
|
488 |
|
489 if (nm == "@<anonymous>") |
|
490 { |
|
491 tree_print_code tpc (os); |
|
492 |
4989
|
493 // FCN is const because this member function is, so we can't |
4980
|
494 // use it to call user_function_value, so we make a copy first. |
|
495 |
|
496 octave_value ftmp = fcn; |
|
497 |
|
498 octave_user_function *f = ftmp.user_function_value (); |
|
499 |
|
500 if (f) |
|
501 { |
|
502 tree_parameter_list *p = f->parameter_list (); |
|
503 |
|
504 os << "@("; |
|
505 |
|
506 if (p) |
|
507 p->accept (tpc); |
|
508 |
|
509 os << ") "; |
|
510 |
|
511 tree_statement_list *b = f->body (); |
|
512 |
|
513 if (b) |
|
514 { |
|
515 assert (b->length () == 1); |
|
516 |
|
517 tree_statement *s = b->front (); |
|
518 |
|
519 if (s) |
|
520 { |
|
521 if (s->is_expression ()) |
|
522 { |
|
523 tree_expression *e = s->expression (); |
|
524 |
|
525 if (e) |
|
526 { |
|
527 if (e->is_assignment_expression ()) |
|
528 { |
|
529 // The parser builds an assignment to |
|
530 // __retval__, and we don't want to |
|
531 // display that part. |
|
532 |
|
533 tree_simple_assignment *tsa |
|
534 = reinterpret_cast <tree_simple_assignment *> (e); |
|
535 tree_expression *rhs = tsa->right_hand_side (); |
|
536 |
|
537 if (rhs) |
|
538 rhs->accept (tpc); |
|
539 } |
|
540 else |
|
541 e->accept (tpc); |
|
542 } |
|
543 } |
|
544 else |
|
545 { |
|
546 tree_command *c = s->command (); |
|
547 |
|
548 tpc.suspend_newline (); |
|
549 c->accept (tpc); |
|
550 tpc.resume_newline (); |
|
551 } |
|
552 } |
|
553 } |
|
554 |
|
555 printed = true; |
|
556 } |
|
557 } |
|
558 |
|
559 if (! printed) |
|
560 octave_print_internal (os, nm, pr_as_read_syntax, |
|
561 current_print_indent_level ()); |
4343
|
562 } |
|
563 |
|
564 octave_value |
|
565 make_fcn_handle (const std::string& nm) |
|
566 { |
|
567 octave_value retval; |
|
568 |
4930
|
569 octave_value f = lookup_function (nm); |
4343
|
570 |
4930
|
571 if (f.is_function ()) |
|
572 retval = octave_value (new octave_fcn_handle (f, nm)); |
4343
|
573 else |
|
574 error ("error creating function handle \"@%s\"", nm.c_str ()); |
|
575 |
|
576 return retval; |
|
577 } |
|
578 |
4933
|
579 DEFUN (functions, args, , |
4343
|
580 "-*- texinfo -*-\n\ |
4933
|
581 @deftypefn {Built-in Function} {} functions (@var{fcn_handle})\n\ |
|
582 Return a struct containing information about the function handle\n\ |
|
583 @var{fcn_handle}.\n\ |
|
584 @end deftypefn") |
4343
|
585 { |
|
586 octave_value retval; |
|
587 |
4933
|
588 if (args.length () == 1) |
4343
|
589 { |
4933
|
590 octave_fcn_handle *fh = args(0).fcn_handle_value (); |
4343
|
591 |
|
592 if (! error_state) |
|
593 { |
4933
|
594 octave_function *fcn = fh ? fh->function_value (true) : 0; |
4343
|
595 |
4933
|
596 if (fcn) |
4930
|
597 { |
4933
|
598 Octave_map m; |
4649
|
599 |
4933
|
600 std::string fh_nm = fh->fcn_name (); |
|
601 |
4978
|
602 m.assign ("function", fh_nm); |
4343
|
603 |
4933
|
604 if (fcn->is_nested_function ()) |
|
605 m.assign ("type", "subfunction"); |
|
606 else |
|
607 m.assign ("type", "simple"); |
|
608 |
|
609 std::string nm = fcn->fcn_file_name (); |
4343
|
610 |
4933
|
611 if (nm.empty ()) |
4935
|
612 { |
|
613 if (fh_nm == "@<anonymous>") |
|
614 m.assign ("file", "none"); |
|
615 else |
|
616 m.assign ("file", "built-in function"); |
|
617 } |
4343
|
618 else |
4933
|
619 m.assign ("file", nm); |
|
620 |
|
621 retval = m; |
4343
|
622 } |
|
623 else |
4933
|
624 error ("functions: invalid function handle object"); |
4343
|
625 } |
|
626 else |
4933
|
627 error ("functions: argument must be a function handle object"); |
4343
|
628 } |
|
629 else |
4933
|
630 print_usage ("functions"); |
4343
|
631 |
|
632 return retval; |
|
633 } |
|
634 |
4933
|
635 DEFUN (func2str, args, , |
4343
|
636 "-*- texinfo -*-\n\ |
4933
|
637 @deftypefn {Built-in Function} {} func2str (@var{fcn_handle})\n\ |
|
638 Return a string containing the name of the function referenced by\n\ |
|
639 the function handle @var{fcn_handle}.\n\ |
|
640 @end deftypefn") |
4343
|
641 { |
|
642 octave_value retval; |
|
643 |
4933
|
644 if (args.length () == 1) |
4930
|
645 { |
4933
|
646 octave_fcn_handle *fh = args(0).fcn_handle_value (); |
4930
|
647 |
4933
|
648 if (! error_state && fh) |
|
649 { |
|
650 std::string fh_nm = fh->fcn_name (); |
4978
|
651 retval = fh_nm; |
4933
|
652 } |
4343
|
653 else |
4933
|
654 error ("func2str: expecting valid function handle as first argument"); |
4343
|
655 } |
|
656 else |
4933
|
657 print_usage ("func2str"); |
4343
|
658 |
|
659 return retval; |
|
660 } |
|
661 |
4933
|
662 DEFUN (str2func, args, , |
4343
|
663 "-*- texinfo -*-\n\ |
4933
|
664 @deftypefn {Built-in Function} {} str2func (@var{fcn_name})\n\ |
|
665 Return a function handle constructed from the string @var{fcn_name}.\n\ |
|
666 @end deftypefn") |
4343
|
667 { |
|
668 octave_value retval; |
|
669 |
4933
|
670 if (args.length () == 1) |
4343
|
671 { |
4933
|
672 std::string nm = args(0).string_value (); |
4343
|
673 |
4933
|
674 if (! error_state) |
|
675 retval = make_fcn_handle (nm); |
4343
|
676 else |
4933
|
677 error ("str2func: expecting string as first argument"); |
4343
|
678 } |
|
679 else |
4933
|
680 print_usage ("str2func"); |
4343
|
681 |
|
682 return retval; |
|
683 } |
|
684 |
|
685 /* |
|
686 ;;; Local Variables: *** |
|
687 ;;; mode: C++ *** |
|
688 ;;; End: *** |
|
689 */ |