From cc1a44c7a763fc6280f58a59a86f96f67eef4977 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 15 Aug 2016 14:53:20 -0500 Subject: [PATCH] ugh --- include/YapError.h | 2 +- include/YapErrors.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/YapError.h b/include/YapError.h index 011c75b11..7f8a41d93 100644 --- a/include/YapError.h +++ b/include/YapError.h @@ -122,7 +122,7 @@ Yap_ensure_atom__( const char *fu, const char *fi, int line, Term in ) return NULL; \ } -#define HEAP_TERM_ERROR(a, TYPE) \ +#define HEAP_TERM_ERROR(a, TYPE, n) \ if (a == NIL) { \ LOCAL_Error_TYPE = RESOURCE_ERROR_HEAP; \ LOCAL_Error_Term = t; \ diff --git a/include/YapErrors.h b/include/YapErrors.h index ead0d73cf..514a17e11 100644 --- a/include/YapErrors.h +++ b/include/YapErrors.h @@ -105,7 +105,7 @@ E2(PERMISSION_ERROR_NEW_ALIAS_FOR_STREAM, PERMISSION_ERROR, "add_alias", E2(PERMISSION_ERROR_CREATE_ARRAY, PERMISSION_ERROR, "create", "array") E2(PERMISSION_ERROR_CREATE_OPERATOR, PERMISSION_ERROR, "create", "operator") E2(PERMISSION_ERROR_INPUT_BINARY_STREAM, PERMISSION_ERROR, "input", - "binary_stream") + "text_stream") E2(PERMISSION_ERROR_INPUT_PAST_END_OF_STREAM, PERMISSION_ERROR, "input", "past_end_of_stream") E2(PERMISSION_ERROR_INPUT_STREAM, PERMISSION_ERROR, "input", "stream")