Skip to content

Commit

Permalink
reverting big mess from previous checkins!
Browse files Browse the repository at this point in the history
  • Loading branch information
thradams committed Mar 9, 2024
1 parent 537dab0 commit 9ee96eb
Show file tree
Hide file tree
Showing 5 changed files with 980 additions and 1,273 deletions.
21 changes: 19 additions & 2 deletions src/file.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
//struct

struct X { ; s };
struct parser_ctx { int x; };
enum token_type { A };

struct token* parser_match(struct parser_ctx* ctx);
struct token* parser_match(struct parser_ctx* ctx) {}

[[nodiscard]]
int parser_match_tk(struct parser_ctx* ctx, enum token_type type);

[[nodiscard]]
int parser_match_tk(struct parser_ctx* ctx, enum token_type type)
{
}

void call(void)
{
struct parser_ctx ctx;
parser_match_tk(&ctx, A);
}
Loading

0 comments on commit 9ee96eb

Please sign in to comment.