basic language support for sublime and vscode

This commit is contained in:
cozis
2022-12-06 17:42:37 +01:00
parent 8f2723c3aa
commit a327aa1cf7
9 changed files with 131 additions and 16 deletions
+1 -1
View File
@@ -16,4 +16,4 @@
#define TYPENAME_NULLABLE "NullableType"
#define TYPENAME_SUM "SumType"
#define TYPENAME_ANY "Any"
#define TYPENAME_ANY "AnyType"
+1 -1
View File
@@ -1925,7 +1925,7 @@ static _Bool parse_function_arguments(Context *ctx, int *argc_, Node **argv_)
type = parse_expression(ctx, 0, 0);
if(type == NULL)
return 0;
} else
parameter } else
type = NULL;
Node *defarg; // Default argument (or NULL if there isn't one)