pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-08-15
2001-08-15 22:19:56 by Martin Stjernholm <mast@lysator.liu.se>
5802defc942ffad92601c99d551e5c830bdb1af6 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Do not report exceptions thrown by cpp during compilation.
Rev: lib/master.pike.in:1.163
1:
/* -*- Pike -*- *
-
* $Id: master.pike.in,v 1.
162
2001/08/15
20
:
59
:
15
mast Exp $
+
* $Id: master.pike.in,v 1.
163
2001/08/15
22
:
19
:
56
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.
+
return 1;
if (mixed val = get_inhibit_compile_errors()) { if (objectp (val) && val->compile_exception) return val->compile_exception (trace);