From 885fc51225ea408a40b4ec9d88e4fb8405577be6 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Tue, 20 Oct 2015 08:00:39 +0100 Subject: [PATCH] move text stuff to YapText --- os/yapio.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/os/yapio.h b/os/yapio.h index 845ae4c0d..db359f34b 100644 --- a/os/yapio.h +++ b/os/yapio.h @@ -44,23 +44,6 @@ typedef struct AliasDescS { #define MAX_ISO_LATIN1 255 -/****************** character definition table **************************/ - -#define NUMBER_OF_CHARS 256 -extern char *Yap_chtype; - -#include "inline-only.h" -INLINE_ONLY EXTERN inline int chtype(Int); -int Yap_wide_chtype(Int); - -INLINE_ONLY EXTERN inline int -chtype(Int ch) -{ - if (ch < NUMBER_OF_CHARS) - return Yap_chtype[ch]; - return Yap_wide_chtype(ch); -} - /* parser stack, used to be AuxSp, now is ASP */ #define ParserAuxSp LOCAL_ScannerStack