--- parser3/src/include/pa_request.h 2004/02/11 15:33:14 1.174 +++ parser3/src/include/pa_request.h 2004/07/30 10:55:21 1.176 @@ -8,7 +8,7 @@ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char * const IDENT_REQUEST_H="$Date: 2004/02/11 15:33:14 $"; +static const char * const IDENT_REQUEST_H="$Date: 2004/07/30 10:55:21 $"; #include "pa_pool.h" #include "pa_hash.h" @@ -147,7 +147,7 @@ public: bool finterrupted; public: - size_t register_file(String::Body file_spec); + uint register_file(String::Body file_spec); struct Exception_details { const Trace trace; @@ -160,6 +160,7 @@ public: VHash& avhash): trace(atrace), problem_source(aproblem_source), vhash(avhash) {} }; Exception_details get_details(const Exception& e); + const char* get_exception_cstr(const Exception& e, Exception_details& details); /// @see Stack::wipe_unused void wipe_unused_execution_stack() { @@ -217,7 +218,8 @@ public: void use_buf(VStateless_class& aclass, const char* source, const String* main_alias, - uint file_no); // pa_request.C + uint file_no, + int line_no_offset=0); // pa_request.C /// processes any code-junction there may be inside of @a value StringOrValue process(Value& input_value, bool intercept_string=true); // execute.C @@ -378,7 +380,8 @@ private: // compile.C VStateless_class& compile(VStateless_class* aclass, const char* source, const String* main_alias, - uint file_no); + uint file_no, + int line_no_offset); private: // execute.C