minor cleanups

This commit is contained in:
cozis
2021-11-02 14:03:07 +00:00
parent 51083ee090
commit 035649bd63
4 changed files with 10 additions and 8 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
p = (false);
if p:
a = 1;
{
a = 1;
}
else
a = 2;
+5
View File
@@ -0,0 +1,5 @@
if false:
a = 33;
print(a, '\n');
-3
View File
@@ -375,9 +375,6 @@ static inline _Bool done(Context *ctx)
return current(ctx) == TDONE;
}
#warning "TEMP"
#include <stdio.h>
static Node *parse_statement(Context *ctx)
{
assert(ctx != NULL);
-2
View File
@@ -22,8 +22,6 @@ typedef struct {
const char *input, *output;
} Options;
_Bool debug_callback(Runtime *runtime, void *userp);
static int parse_args(Options *opts, int argc, char **argv, Error *error)
{
assert(argc >= 0);