diff --git a/src/compile.c b/src/compile.c index 63c6290..5e6edfc 100644 --- a/src/compile.c +++ b/src/compile.c @@ -230,6 +230,12 @@ char* compile_expression(tSyntaxElement* syntaxelement) { string_append_free(&result,compile_gensplit(token, ",")); string_append(&result,"]"); + } else if (strcmp(token->content.string, "range") == 0) { + + string_append(&result,"["); + string_append_free(&result,compile_gensplit(token, "..")); + string_append(&result,"]"); + } else if (strcmp(token->content.string, "map") == 0) { string_append(&result,"{");