#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include "cpp_io.h"
#include "cpp_conv.h"
#include "cpp_token.h"
#include "cc_scan.h"
Functions | |
int | isDigit (char ch) |
check if a given character is a digit | |
int | isOctDigit (char ch) |
check if a given character is a octal digit | |
int | isHexDigit (char ch) |
check if a given character is a hex digit | |
int | isLetter (char ch) |
check if a given character is a letter | |
int | isSpace (char ch) |
check if a given character is a white space | |
void | appendChar (char *s, char ch) |
append a character to a null terminated string | |
int | read_byte (int fd, char *c) |
read one byte | |
void | GetSymIntCC (int fd, struct _token *t) |
get next symbol (internal) | |
char * | SymToStringCC (int sym) |
convert symbols to the corresponding text |
|
append a character to a null terminated string
|
|
get next symbol (internal)
|
|
check if a given character is a digit
|
|
check if a given character is a hex digit
|
|
check if a given character is a letter
|
|
check if a given character is a octal digit
|
|
check if a given character is a white space
|
|
read one byte
|
|
convert symbols to the corresponding text
|