Fix minor styling errors
This commit is contained in:
parent
f483288e5a
commit
d1f6d4c182
@ -102,7 +102,8 @@ node_t* make_int_node(int literal)
|
|||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
int evaluate_expression(node_t *root, fieldset_t *fields) {
|
int evaluate_expression(node_t *root, fieldset_t *fields)
|
||||||
|
{
|
||||||
if (!root) return 1;
|
if (!root) return 1;
|
||||||
switch (root->type) { /* XXX Not sure if runs */
|
switch (root->type) { /* XXX Not sure if runs */
|
||||||
case FIELD:
|
case FIELD:
|
||||||
@ -135,7 +136,8 @@ int evaluate_expression(node_t *root, fieldset_t *fields) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_expression(node_t *root) {
|
void print_expression(node_t *root)
|
||||||
|
{
|
||||||
if (!root) return;
|
if (!root) return;
|
||||||
printf("%s", "( ");
|
printf("%s", "( ");
|
||||||
print_expression(root->left_child);
|
print_expression(root->left_child);
|
||||||
|
Loading…
Reference in New Issue
Block a user