line.txt (cdf0e10c) | line.txt (30acf5e8) |
---|---|
1# Copyright (c) 2002-2006 International Business Machines Corporation and 2# others. All Rights Reserved. 3# 4# file: line.txt 5# 6# Line Breaking Rules 7# Implement default line breaking as defined by Unicode Standard Annex #14 version 5.0.0 8# http://www.unicode.org/reports/tr14/ --- 405 unchanged lines hidden (view full) --- 414# 415# Sequences of the form (shown forwards) 416# [CANT_CM] <break> [CM] [whatever] 417# The CM needs to behave as an AL 418# 419$AL_FOLLOW $CM+ / ( 420 [$BK $CR $LF $NL $ZW {eof}] | 421 $SP+ $CM+ $SP | | 1# Copyright (c) 2002-2006 International Business Machines Corporation and 2# others. All Rights Reserved. 3# 4# file: line.txt 5# 6# Line Breaking Rules 7# Implement default line breaking as defined by Unicode Standard Annex #14 version 5.0.0 8# http://www.unicode.org/reports/tr14/ --- 405 unchanged lines hidden (view full) --- 414# 415# Sequences of the form (shown forwards) 416# [CANT_CM] <break> [CM] [whatever] 417# The CM needs to behave as an AL 418# 419$AL_FOLLOW $CM+ / ( 420 [$BK $CR $LF $NL $ZW {eof}] | 421 $SP+ $CM+ $SP | |
422 $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to surpress this break. | 422 $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to suppress this break. |
423 # LB14 says OP SP* x . 424 # becomes OP SP* x AL 425 # becomes OP SP* x CM+ AL_FOLLOW 426 # 427 # Further note: the $AL in [$AL {eof}] is only to work around 428 # a rule compiler bug which complains about 429 # empty sets otherwise. 430 --- 204 unchanged lines hidden --- | 423 # LB14 says OP SP* x . 424 # becomes OP SP* x AL 425 # becomes OP SP* x CM+ AL_FOLLOW 426 # 427 # Further note: the $AL in [$AL {eof}] is only to work around 428 # a rule compiler bug which complains about 429 # empty sets otherwise. 430 --- 204 unchanged lines hidden --- |