#include <stdbool.h>
#include <time.h>
#include <unistd.h>
Go to the source code of this file.
◆ COLOR_COMMENT
#define COLOR_COMMENT "\033[0;33m" |
◆ COLOR_FUNCTION
#define COLOR_FUNCTION "\033[0;34m" |
◆ COLOR_KEYWORD
#define COLOR_KEYWORD "\033[1;36m" |
◆ COLOR_NUMBER
#define COLOR_NUMBER "\033[0;35m" |
◆ COLOR_PREPROCESSOR
#define COLOR_PREPROCESSOR "\033[0;31m" |
◆ COLOR_RESET
#define COLOR_RESET "\033[0m" |
◆ COLOR_STRING
#define COLOR_STRING "\033[0;32m" |
◆ handle_identifier()
int handle_identifier |
( |
const char * | line, |
|
|
int | i, |
|
|
int | len ) |
◆ handle_number()
int handle_number |
( |
const char * | line, |
|
|
int | i, |
|
|
int | len ) |
◆ handle_preprocessor()
int handle_preprocessor |
( |
const char * | line, |
|
|
int | i, |
|
|
int | len ) |
◆ handle_string()
int handle_string |
( |
const char * | line, |
|
|
int | i, |
|
|
int | len, |
|
|
char | delimiter ) |
◆ print_file_header()
void print_file_header |
( |
const char * | filename | ) |
|
◆ strip_newline()
void strip_newline |
( |
char * | line | ) |
|