Skip to content

Commit

Permalink
Merge pull request #105 from cratuki/20240115.cturner.simplify.parser
Browse files Browse the repository at this point in the history
Removes redundant block from parser.c
  • Loading branch information
jserv authored Jan 15, 2024
2 parents ba161c5 + e33a621 commit 70bf53b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -2386,9 +2386,6 @@ void read_global_statement()
block_t *block = &BLOCKS[0]; /* global block */

if (lex_peek(T_include, token)) {
if (!strcmp(token_str, "<stdio.h>")) {
/* ignore, we include libc by default */
}
lex_expect(T_include);
} else if (lex_accept(T_define)) {
char alias[MAX_VAR_LEN];
Expand Down

0 comments on commit 70bf53b

Please sign in to comment.