Added an extention to the relation
parent
a7e5535dde
commit
53ec113f81
|
@ -219,6 +219,11 @@ relation:
|
||||||
| expression '>' expression {
|
| expression '>' expression {
|
||||||
$$ = NODE(RELATION, strdup(">"), 2, $1, $3);
|
$$ = NODE(RELATION, strdup(">"), 2, $1, $3);
|
||||||
}
|
}
|
||||||
|
/* This can actually be extented with the following (with some minor tweaks to the generator.c)
|
||||||
|
| expression {
|
||||||
|
$$ = NODE(RELATION, NULL, 1, $1);
|
||||||
|
}
|
||||||
|
That will allow to have "if 1 then" or "while 1 do" */
|
||||||
;
|
;
|
||||||
|
|
||||||
expression:
|
expression:
|
||||||
|
|
Loading…
Reference in New Issue