pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-08-15
2001-08-15 23:01:00 by Martin Stjernholm <mast@lysator.liu.se>
ad5304ec11f07556037fc52125c14c54496da49d (
10
lines) (+
6
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Ignore compilation errors too in compile_exception.
Rev: lib/master.pike.in:1.164
1:
/* -*- Pike -*- *
-
* $Id: master.pike.in,v 1.
163
2001/08/15
22
:
19
:
56
mast Exp $
+
* $Id: master.pike.in,v 1.
164
2001/08/15
23
:
01
:
00
mast Exp $
* * Master-file for Pike. *
1758:
//! this function returns zero. int compile_exception (array|object trace) {
-
if (objectp (trace) && trace->is_cpp_error)
-
// Errors thrown by cpp() are normally not
interesting; they've
-
// already been reported to compile_error.
+
if (objectp (trace) &&
+
(
trace->is_cpp_error
|| trace->is_compilation_error
)
)
+
// Errors thrown
directly
by cpp()
and compile()
are normally not
+
//
interesting; they've already been reported to compile_error.
return 1; if (mixed val = get_inhibit_compile_errors()) { if (objectp (val) && val->compile_exception)