diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-14 20:00:19 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-14 20:00:19 -0500 |
commit | 1de39ba1ffdacf6841f925537b31b32a4101b632 (patch) | |
tree | b321ca376cc9693136e609fa88aaaca3acc7afa3 /cgen.c | |
parent | 62349b1f6d9f5948f856e26e3b0eef19567198fa (diff) |
extern variable declarations
Diffstat (limited to 'cgen.c')
-rw-r--r-- | cgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -254,7 +254,7 @@ static void cgen_ident_id(CGenerator *g, IdentID id) { cgen_write(g, "a%lu_", (unsigned long)id); } -/* should declaration be a direct function declaration C (as opposed to using a function pointer or not being a function) */ +/* should this declaration be a direct function declaration C? (as opposed to using a function pointer or not being a function) */ static bool cgen_fn_is_direct(CGenerator *g, Declaration *d) { return g->block == NULL && (d->flags & DECL_HAS_EXPR) && d->expr.kind == EXPR_FN && arr_len(d->idents) == 1; } |