*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "frotz.h"
"Illegal window",
"Illegal window property",
"Print at illegal address",
+ "Illegal dictionary word length",
"@jin called with object 0",
"@get_child called with object 0",
"@get_parent called with object 0",
if (errnum <= 0 || errnum > ERR_NUM_ERRORS)
return;
- if (f_setup.err_report_mode == ERR_REPORT_FATAL
- || (!f_setup.ignore_errors && errnum <= ERR_MAX_FATAL)) {
+ if (option_err_report_mode == ERR_REPORT_FATAL
+ || (!option_ignore_errors && errnum <= ERR_MAX_FATAL)) {
flush_buffer ();
os_fatal (err_messages[errnum - 1]);
return;
wasfirst = (error_count[errnum - 1] == 0);
error_count[errnum - 1]++;
- if ((f_setup.err_report_mode == ERR_REPORT_ALWAYS)
- || (f_setup.err_report_mode == ERR_REPORT_ONCE && wasfirst)) {
+ if ((option_err_report_mode == ERR_REPORT_ALWAYS)
+ || (option_err_report_mode == ERR_REPORT_ONCE && wasfirst)) {
long pc;
GET_PC (pc);
print_long (pc, 16);
print_char (')');
- if (f_setup.err_report_mode == ERR_REPORT_ONCE) {
+ if (option_err_report_mode == ERR_REPORT_ONCE) {
print_string (" (will ignore further occurrences)");
} else {
print_string (" (occurence ");