35 #include "main/symbol.h" 38 #include "loc/ident.h" 39 #include "loc/kword.h" 75 return const_cast<
char*>(def
->text);
83 return const_cast<
char*>(def
->text);
91 return const_cast<
char*>(def
->text);
103 return (character >=
'a' && character <=
'z') ||
104 (character >=
'A' && character <=
'Z') ||
105 (character >=
'0' && character <=
'9');
110 return (character >=
'a' && character <=
'z') ||
111 (character >=
'A' && character <=
'Z');
116 return (character >=
'0' && character <=
'9');
121 return (character ==
'.');
126 return (character == 32);
131 return (character < 32 || character > 125);
141 return (c >= 32 && c <= 126);
227 while ((*
ptr) !=
'\0' && (*
ptr) !=
'\n')
248 else if ((*
ptr) ==
'#' && *(
ptr +
sizeof(
char)) ==
'#')
void LoadCatalog(char **dest, const char *file)
bool StrIsEqualLoc(const char *s1, const char *s2)
bool CharIsAlpha(unsigned long character)
bool CharIsPunct(unsigned long character)
bool StrIsEqual(const char *s1, const char *s2)
Compare two null terminated strings to each other.
char * Translate(identhelpdef *def)
helptextdef * helpcatalog
virtual CharBuffer * LoadTextFile(const char *name)=0
char * Translate(textdef *def)
Abstract base class encapsulating file system calls.
void GetNextPair(const char **key, const char **value)
bool CharIsAlNum(unsigned long character)
char * Translate(helptextdef *def)
bool CharIsCntrl(unsigned long character)
identhelpdef * identcatalog
bool CharIsSpace(unsigned long character)
bool CharIsDigit(unsigned long character)
unsigned int AllocAndCopy(char **destination, const char *source)
Allocate memory and copy a string into the array.
Encapsulate an character array which can be used as a string.