* leftmostLoc - support for exprLocation * * Take the minimum of two parse location values, but ignore unknowns */
| 1687 | * Take the minimum of two parse location values, but ignore unknowns |
| 1688 | */ |
| 1689 | static int |
| 1690 | leftmostLoc(int loc1, int loc2) |
| 1691 | { |
| 1692 | if (loc1 < 0) |
| 1693 | return loc2; |
| 1694 | else if (loc2 < 0) |
| 1695 | return loc1; |
| 1696 | else |
| 1697 | return Min(loc1, loc2); |
| 1698 | } |
| 1699 | |
| 1700 | |
| 1701 | /* |