Fixes a bug in pair set intervals.
Pair intervals in form (a,b)..(c,d) were mishanded. Thanks to Alexander Shikoff for the bugreport.
This commit is contained in:
parent
46c1a583a5
commit
117e3c4bbf
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ pair_item:
|
||||||
/* Hack: $2 and $4 should be pair_expr, but that would cause shift/reduce conflict */
|
/* Hack: $2 and $4 should be pair_expr, but that would cause shift/reduce conflict */
|
||||||
if ((pair_a($2) != pair_b($2)) || (pair_a($4) != pair_b($4)))
|
if ((pair_a($2) != pair_b($2)) || (pair_a($4) != pair_b($4)))
|
||||||
cf_error("syntax error");
|
cf_error("syntax error");
|
||||||
$$ = f_new_pair_item(pair_b($2), pair_b($4), $8, $10);
|
$$ = f_new_pair_item(pair_b($2), $8, pair_b($4), $10);
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue