#include "common.h"
#include "base/util.h"
#include "base/panic.h"
#include "arena/arena.h"
#include "std/str.h"
Go to the source code of this file.
◆ SCAN_BUILTIN_NAME
#define SCAN_BUILTIN_NAME "<builtin>" |
◆ fmt_left_align()
char* fmt_left_align |
( |
arena_t * |
arena, |
|
|
size_t |
width, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ fmt_right_align()
char* fmt_right_align |
( |
arena_t * |
arena, |
|
|
size_t |
width, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ fmt_source_location()
◆ format_context_make()
◆ get_num_width()
int get_num_width |
( |
size_t |
num | ) |
|
get the width of a number if it were printed as base10
Definition at line 21 of file common.c.
◆ get_offset_line()
size_t get_offset_line |
( |
bool |
zero_indexed_lines, |
|
|
size_t |
line |
|
) |
| |
colour defines
Definition at line 12 of file common.c.