YAP 7.1.0
scanner.c File Reference
#include "Yap.h"
#include "YapEval.h"
#include "YapHeap.h"
#include "Yatom.h"
#include "alloc.h"
#include "yapio.h"
#include "YapText.h"
#include "iopreds.h"

Go to the source code of this file.

Macros

#define my_isxdigit(C, SU, SL)    (chtype(C) == NU || (C >= 'A' && C <= (SU)) || (C >= 'a' && C <= (SL)))
 
#define my_isupper(C)   (C >= 'A' && C <= 'Z')
 
#define my_islower(C)   (C >= 'a' && C <= 'z')
 
#define CodeSpaceError(t, p, l)   CodeSpaceError__(t, p, l PASS_REGS)
 
#define TrailSpaceError(t, l)   TrailSpaceError__(t, l PASS_REGS)
 
#define number_overflow()
 
#define CHECK_SPACE()
 
#define safe_add_ch_to_buff(ch)   charp += put_utf8(charp, ch);
 
#define add_ch_to_buff(ch)
 

Typedefs

typedef struct scanner_extra_alloc ScannerExtraBlock
 

Functions

double atof (const char *)
 
Term Yap_scan_num (StreamDesc *inp)
 This routine is used when we need to parse a string into a number. More...
 
Term Yap_tokRep (void *tokptre)
 convert a token to text More...
 
const char * Yap_tokText (void *tokptre)
 
TokEntryYap_tokenizer (void *st_, void *params_)
 
void Yap_clean_tokenizer (void)
 terminate scanning: just closes the comment store More...
 

Variables

char_kind_t Yap_chtype0 [NUMBER_OF_CHARS+1]