Skip to content

Commit

Permalink
#74 continue renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed Sep 12, 2021
1 parent cb1a5fd commit fe97738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chibicc.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct C_Token {
noreturn void C_error(char *fmt, ...) __attribute__((format(printf, 1, 2)));
noreturn void C_error_at(C_parser *tokenizer, char *loc, char *fmt, ...) __attribute__((format(printf, 2, 3)));
noreturn void C_error_tok(C_parser *tokenizer, C_Token *tok, char *fmt, ...) __attribute__((format(printf, 2, 3)));
void warn_tok(C_parser *tokenizer, C_Token *tok, char *fmt, ...) __attribute__((format(printf, 2, 3)));
void C_warn_tok(C_parser *tokenizer, C_Token *tok, char *fmt, ...) __attribute__((format(printf, 2, 3)));
bool equal(C_Token *tok, char *op);
C_Token *skip(C_parser *parser, C_Token *tok, char *op);
bool consume(C_Token **rest, C_Token *tok, char *str);
Expand Down
2 changes: 1 addition & 1 deletion src/chibicc_tokenize.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void C_error_tok(C_parser *tokenizer, C_Token *tok, char *fmt, ...) {
exit(1);
}

void warn_tok(C_parser *tokenizer, C_Token *tok, char *fmt, ...) {
void C_warn_tok(C_parser *tokenizer, C_Token *tok, char *fmt, ...) {
va_list ap;
va_start(ap, fmt);
verror_at(tokenizer, tok->file->name, tok->file->contents, tok->line_no, tok->loc, fmt, ap);
Expand Down

0 comments on commit fe97738

Please sign in to comment.