mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-28 21:40:30 +00:00
Make minor improvements
This commit is contained in:
parent
1fc91f3580
commit
b562d6fdb3
41 changed files with 1948 additions and 92 deletions
6
third_party/chibicc/chibicc.h
vendored
6
third_party/chibicc/chibicc.h
vendored
|
@ -120,6 +120,10 @@ Token *tokenize_string_literal(Token *, Type *);
|
|||
bool consume(Token **, Token *, char *, size_t);
|
||||
bool equal(Token *, char *, size_t);
|
||||
void convert_pp_tokens(Token *);
|
||||
void remove_backslash_newline(char *);
|
||||
void canonicalize_newline(char *);
|
||||
char *read_file(char *);
|
||||
int read_escaped_char(char **, char *);
|
||||
|
||||
#define UNREACHABLE() error("internal error at %s:%d", __FILE__, __LINE__)
|
||||
#define EQUAL(T, S) equal(T, S, strlen(S))
|
||||
|
@ -563,6 +567,8 @@ extern bool opt_sse4;
|
|||
extern bool opt_verbose;
|
||||
extern char *base_file;
|
||||
|
||||
int chibicc(int, char **);
|
||||
|
||||
//
|
||||
// alloc.c
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue