Added grouping
parent
a6b535248b
commit
525c2b1f6a
|
@ -247,7 +247,7 @@ expression:
|
|||
node_init($$ = malloc(sizeof(node_t)), EXPRESSION, strdup("~"), 1, $2);
|
||||
}
|
||||
| '(' expression ')' {
|
||||
$$ = $2;
|
||||
node_init($$ = malloc(sizeof(node_t)), EXPRESSION, /*NULL*/ strdup("group"), 1, $2);
|
||||
}
|
||||
| number {
|
||||
node_init($$ = malloc(sizeof(node_t)), EXPRESSION, /*NULL*/ strdup("number"), 1, $1);
|
||||
|
|
Loading…
Reference in New Issue