diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-14 22:24:15 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-14 22:24:15 -0400 |
commit | c3ca8aec22cae9011fbd3a718e969634876fa858 (patch) | |
tree | 93d61a1b3b6f4c80aa5725edbdae25e78f88970d /parse.c | |
parent | 089b01e0849b9eb01b5ab542b0baabe2d6ce1865 (diff) |
minor improvements, including output indentation
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -542,7 +542,7 @@ static bool parse_fn_expr(Parser *p, FnExpr *f) { if (!parse_decl_list(p, &f->ret_decls, DECL_END_LBRACE_COMMA)) return false; t->token--; /* move back to { */ - if (arr_len(f->ret_decls) > 1 || arr_len(f->ret_decls[0].idents)) { + if (arr_len(f->ret_decls) > 1 || arr_len(f->ret_decls[0].idents) > 1) { f->ret_type.kind = TYPE_TUPLE; f->ret_type.flags = 0; f->ret_type.tuple = NULL; |