Compare commits
No commits in common. "a1d14e8cfa274abb5a76a193c353615154211a97" and "00afc5158f2eceb6bf38a0eb5965ae2f5a28eecb" have entirely different histories.
a1d14e8cfa
...
00afc5158f
@ -168,28 +168,12 @@ char* compile_expression(tSyntaxElement* syntaxelement) {
|
||||
|
||||
string_append(&result,compile_expression_wrapped(token->next->next->next));
|
||||
|
||||
} else if (strcmp(token->content.string, "get") == 0) {
|
||||
|
||||
string_append(&result,compile_expression(token->next));
|
||||
string_append(&result,"[");
|
||||
string_append(&result,compile_expression(token->next->next));
|
||||
string_append(&result,"]");
|
||||
|
||||
} else if (strcmp(token->content.string, "neg") == 0) {
|
||||
|
||||
string_append(&result,"-");
|
||||
string_append(&result,compile_expression_wrapped(token->next));
|
||||
|
||||
} else if (strcmp(token->content.string, "not") == 0) {
|
||||
|
||||
string_append(&result,"not");
|
||||
string_append(&result,compile_expression_wrapped(token->next));
|
||||
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
|
||||
string_append(&result,token->content.string);
|
||||
compile_genexec(&result, token);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user