clean up C snippets
This commit is contained in:
parent
200a06c960
commit
4d2163e9e6
1 changed files with 2 additions and 4 deletions
|
|
@ -7,9 +7,7 @@ return {
|
||||||
t(""),
|
t(""),
|
||||||
t("static "),
|
t("static "),
|
||||||
}),
|
}),
|
||||||
t("int "),
|
t("int main("),
|
||||||
t("main"),
|
|
||||||
t("("),
|
|
||||||
c(2, {
|
c(2, {
|
||||||
t("int argc, char *argv[]"),
|
t("int argc, char *argv[]"),
|
||||||
i(1, "void"),
|
i(1, "void"),
|
||||||
|
|
@ -44,5 +42,5 @@ return {
|
||||||
t({ "", "{", "\t" }),
|
t({ "", "{", "\t" }),
|
||||||
i(0),
|
i(0),
|
||||||
t({ "", "}" }),
|
t({ "", "}" }),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue