Branch: Tag:

2008-04-24

2008-04-24 16:03:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Made the Pike compiler somewhat more transparent.
Added change_compiler_compatibility() and get_{compilation_handler,default_module}().
Added _sprintf() for PikeCompiler.
dump_program_tables() now also dumps the string table.

Rev: src/pike_compiler.h:1.6
Rev: src/program.c:1.674

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_compiler.h,v 1.5 2008/04/19 10:10:07 grubba Exp $ + || $Id: pike_compiler.h,v 1.6 2008/04/24 16:03:54 grubba Exp $   */      #ifndef PIKE_COMPILER_H
59:   #define REPORT_FATAL 3 /* Unrecoverable error. */      /* CompilerEnvironment function numbers. */ - #define CE_REPORT_FUN_NUM 0 - #define CE_COMPILE_FUN_NUM 1 - #define CE_RESOLV_FUN_NUM 2 - #define CE_PIKE_COMPILER_FUN_NUM 3 + #define CE_REPORT_FUN_NUM 0 + #define CE_COMPILE_FUN_NUM 1 + #define CE_RESOLV_FUN_NUM 2 + #define CE_PIKE_COMPILER_FUN_NUM 3 + #define CE_GET_COMPILATION_HANDLER_FUN_NUM 4 + #define CE_GET_DEFAULT_MODULE_FUN_NUM 5      /* PikeCompiler function numbers. */ - #define PC_REPORT_FUN_NUM 0 - #define PC_COMPILE_FUN_NUM 1 - #define PC_RESOLV_FUN_NUM 2 + #define PC_REPORT_FUN_NUM 0 + #define PC_COMPILE_FUN_NUM 1 + #define PC_RESOLV_FUN_NUM 2 + #define PC_CREATE_FUN_NUM 3 + #define PC_GET_COMPILATION_HANDLER_FUN_NUM 4 + #define PC_GET_DEFAULT_MODULE_FUN_NUM 5 + #define PC_CHANGE_COMPILER_COMPATIBILITY_FUN_NUM 6      #endif /* !PIKE_COMPILER_H */