Mercurial > hg > octave-nkf
annotate src/unwind-prot.cc @ 12302:1b71befc2f40 release-3-4-x
oct-parse.yy (class stdio_stream_reader): disallow copying
author | Pascal Dupuis <Pascal.Dupuis@uclouvain.be> |
---|---|
date | Sun, 30 Jan 2011 04:38:10 -0500 |
parents | fd0a3ac60b0e |
children | 72c96de7a403 |
rev | line source |
---|---|
1 | 1 /* |
2 | |
11523 | 3 Copyright (C) 1993-2011 John W. Eaton |
9376
d58086453171
refactor unwind_protect
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
4 Copyright (C) 2009 VZLU Prague |
1 | 5 |
6 This file is part of Octave. | |
7 | |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
1 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
1 | 21 |
22 */ | |
23 | |
240 | 24 #ifdef HAVE_CONFIG_H |
1192 | 25 #include <config.h> |
1 | 26 #endif |
27 | |
1343 | 28 #include <cstddef> |
7048 | 29 #include <cstring> |
1 | 30 |
1352 | 31 #include "error.h" |
1 | 32 #include "unwind-prot.h" |
33 #include "utils.h" | |
34 | |
10066
2cd940306a06
make unwind_protect frames local
Jaroslav Hajek <highegg@gmail.com>
parents:
9394
diff
changeset
|
35 void unwind_protect_safe::gripe_exception (void) |
2985 | 36 { |
10066
2cd940306a06
make unwind_protect frames local
Jaroslav Hajek <highegg@gmail.com>
parents:
9394
diff
changeset
|
37 // FIXME: can this throw an exception? |
2cd940306a06
make unwind_protect frames local
Jaroslav Hajek <highegg@gmail.com>
parents:
9394
diff
changeset
|
38 error ("internal: unhandled exception in unwind_protect handler"); |
1 | 39 } |