Skip to content

Commit

Permalink
Merge pull request #7 from MikhailPo/master
Browse files Browse the repository at this point in the history
Extend assertion condition (wrong since Unicode 6.2).
  • Loading branch information
adah1972 committed Dec 6, 2014
2 parents eb87f9f + 8e278bd commit 5a38e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linebreak.c
Expand Up @@ -533,8 +533,8 @@ static int get_lb_result_lookup(
/* TODO: Rule LB21a, as introduced by Revision 28 of UAX#14, is not
* yet implemented below. */
int brk = LINEBREAK_UNDEFINED;
assert(lbpCtx->lbcCur <= LBP_JT);
assert(lbpCtx->lbcNew <= LBP_JT);
assert(lbpCtx->lbcCur <= LBP_RI);
assert(lbpCtx->lbcNew <= LBP_RI);
switch (baTable[lbpCtx->lbcCur - 1][lbpCtx->lbcNew - 1])
{
case DIR_BRK:
Expand Down

0 comments on commit 5a38e1a

Please sign in to comment.