diff options
author | Martin Ruckert <martin.ruckert@hm.edu> | 2023-02-14 12:28:51 +0000 |
---|---|---|
committer | Martin Ruckert <martin.ruckert@hm.edu> | 2023-02-14 12:28:51 +0000 |
commit | 06f03d33add65cbf5c61f0d4440b1b79f61051e1 (patch) | |
tree | 0a71063f328e9a72d545fe58a760a939fac6365b /Build/source/texk/web2c/hitexdir/hintview/src/error.h | |
parent | 1449873055b5fc72de8445624a3c9fd0076a32b7 (diff) |
HiTeX
- New Version 2.0 HINT file format
- merging list and text tags
- eliminating 24 bit integers
- introcuding unknown nodes
- new defined type: Tag
- imlementing extended vtop boxes
- renaming some extern identifieres using a hint_ prefix
git-svn-id: svn://tug.org/texlive/trunk@65829 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/hitexdir/hintview/src/error.h')
-rw-r--r-- | Build/source/texk/web2c/hitexdir/hintview/src/error.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Build/source/texk/web2c/hitexdir/hintview/src/error.h b/Build/source/texk/web2c/hitexdir/hintview/src/error.h index 54ef0070091..dbbd7a1f069 100644 --- a/Build/source/texk/web2c/hitexdir/hintview/src/error.h +++ b/Build/source/texk/web2c/hitexdir/hintview/src/error.h @@ -1,26 +1,26 @@ -/*359:*/ -#line 7180 "hint.w" +/*368:*/ +#line 7247 "hint.w" #ifndef _ERROR_H #define _ERROR_H #include <stdlib.h> #include <stdio.h> #include <setjmp.h> -#define MAX_HERROR 1024 -extern char herror_string[MAX_HERROR]; +#define MAX_HINT_ERROR 1024 +extern char hint_error_string[MAX_HINT_ERROR]; extern FILE*hlog; extern void hint_end(void); -extern jmp_buf error_exit; +extern jmp_buf hint_error_exit; #ifdef _MSC_VER #define snprintf(S,N,F,...) _snprintf(S,N,F,__VA_ARGS__) #ifndef _CONSOLE #pragma warning(disable : 4996) -extern void hmessage(char*title,char*format,...); -#define MESSAGE(...) hmessage("HINT",__VA_ARGS__) +extern void hint_message(char*title,char*format,...); +#define MESSAGE(...) hint_message("HINT",__VA_ARGS__) -extern int herror(char*title,char*msg); -#define ERROR_MESSAGE herror("HINT ERROR",herror_string) +extern int hint_error(char*title,char*msg); +#define ERROR_MESSAGE hint_error("HINT ERROR",hint_error_string) #endif #endif @@ -29,7 +29,7 @@ extern int herror(char*title,char*msg); #define LOG(...) __android_log_print(ANDROID_LOG_DEBUG,__FILE__,__VA_ARGS__) #define MESSAGE(...) __android_log_print(ANDROID_LOG_INFO,__FILE__, __VA_ARGS__) -#define ERROR_MESSAGE __android_log_print(ANDROID_LOG_ERROR,__FILE__,"ERROR: %s\n", herror_string) +#define ERROR_MESSAGE __android_log_print(ANDROID_LOG_ERROR,__FILE__,"ERROR: %s\n", hint_error_string) #endif @@ -42,18 +42,18 @@ extern int herror(char*title,char*msg); #endif #ifndef ERROR_MESSAGE -#define ERROR_MESSAGE fprintf(stderr,"ERROR: %s\n",herror_string) +#define ERROR_MESSAGE fprintf(stderr,"ERROR: %s\n",hint_error_string) #endif #ifndef QUIT -#define QUIT(...) (snprintf(herror_string,MAX_HERROR-1,__VA_ARGS__),\ - ERROR_MESSAGE,hint_end(),longjmp(error_exit,1)) +#define QUIT(...) (snprintf(hint_error_string,MAX_HINT_ERROR-1,__VA_ARGS__),\ + ERROR_MESSAGE,hint_end(),longjmp(hint_error_exit,1)) #endif #ifndef HINT_TRY -#define HINT_TRY if ((herror_string[0]= 0,setjmp(error_exit)==0)) +#define HINT_TRY if ((hint_error_string[0]= 0,setjmp(hint_error_exit)==0)) #endif #endif -/*:359*/ +/*:368*/ |