diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-01-26 22:39:41 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-01-26 22:39:41 +0300 |
commit | 49c2589427e0f81bea68ccba1a95c6890e10538d (patch) | |
tree | 0633bc052552831b3860d1d4816bbee7b85d6313 /src/ast.c | |
parent | 4665a620775da64ec7280762979a9fc6fa37c0bc (diff) | |
download | roscha-master.tar.gz roscha-master.zip |
auto-formatted the code with clang-format.
Diffstat (limited to 'src/ast.c')
-rw-r--r-- | src/ast.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,9 +8,9 @@ static inline sds subblocks_string(struct vector *subblocks, sds str) { - size_t i; + size_t i; struct block *subblk; - vector_foreach(subblocks, i, subblk) { + vector_foreach (subblocks, i, subblk) { str = block_string(subblk, str); str = sdscat(str, "\n"); } @@ -255,9 +255,9 @@ expression_destroy(struct expression *expr) static inline void subblocks_destroy(struct vector *subblks) { - size_t i; + size_t i; struct block *blk; - vector_foreach(subblks, i, blk){ + vector_foreach (subblks, i, blk) { block_destroy(blk); } vector_free(subblks); |